[PATCH 3/4] SlavePool: sort machines before querying