Added sort by favorites to tags page in Pages_controller.rb