Sort cases before executing.
Gives the output order a little more sense.
consistent sorting