sorting pom according to recommendations