pub fn sort_query_params(params: &[(&str, &str)]) -> String
Helper function to sort query parameters alphabetically