Added an order function for threads
Renamed order functions
Added thread listing order to view and controller