sort started machines list to predictably choose the lowest-numbered one

A rare case where more than one machine is started will result in get_started_machine picking an arbitrary one. If pegasus is re-run for any reason, we want it to pick the same one every time if possible.

Sorting the array by machine ID (as int) gives us the same expected behavior every time.