show_by_type in beers_controller: added search and ordering