sort POMs