Use ORDER BY to reduce query time from 1800ms to 50ms