http://stackoverflow.com/questions/14770671/mysql-order-by-before-group-by
Anonymous
Solving the next 5% probably costs more than the previous 90%.