[PATCH v2 4/4] SlavePool: sort machines and interfaces in matching algorithm