allow GET parameters for sorting search results (see #1610)