Allow user-defined sorting of query string keys