I would like to sort the images according to the type of sorting.
Example
https://example.com/collections/exampleA?sort_by=manual
https://example.com/collections/exampleA?sort_by=created-descending
I tried to get the current url and make a conditional branch, but I couldn’t find a way to get the current url.
The canonical_url and routes URLs could not output the URL containing sort_by=manual.
Is there any way to output URLs that include sort_by=manual?
Please let me know.