sorting of poses by name