change order by to use field with an index