Adds search parameter 'order'.
Adds template for displaying search results on page.
Adds arguments of sort, order, and limit to database function query_mongo.
Puts default parameters in place when none are provided.
Returns pages as a list instead of a dict.