You can store your filters in an associative array:
$myFilters = array(
"popularity" => "low",
"sort" => "newest"
);
, , , 1 . http_build_query :
$myURL = 'http://www.example.com/test.php?' . http_build_query($myFilters);
URL-:
http:
: , querystring , URL-:
asort($myFilters);
$myURL = 'http://www.example.com/test.php?' . http_build_query($myFilters);