Fix the undertermistic order by result