Make sure that the output of "stg status" is sorted