Fixed SQL test with order by affected by changes.