Generic page sort [FINISHED #73965034]

Adds sort ability to generic search.