Establish pattern for sorting search results.