Makes form functional
Sorts orders
Changes default sort direction for orders
Sorts offers