I am trying to set a Route path with a query string. But react-router always sorts query params and shows alphabatically sorted querystring in URL.
For example, I have a location filter page where I add filters to my location list. If I filter "Pakistan": "Lahore", "India": "Delhi", and then "America": "Washington", the URL should look like:
/Search?Pakistan=Lahore&India=Delhi&America=Washington
But URL shows it as follows (alphabetically sorted):
/Search?America=Washington&India=Delhi&Pakistan=Lahore
How can I disable this sorting feature in react-router?