Add order by in a select test so that the result is stable.