home_controller and searches_controller, fix sorting