proper sorting of pdsh output