Fix order clause so it runs on Rails 3.2 and MySQL

ActiveRecord/Arel 3.2.16 does not escape the order clause, resulting in a SQL syntax error on MySQL 5.5.35 when visiting /phrasing page.