Allow changing the sort order of results