FELIX-3175 Fix the RankingComparator to accomodate for services to be sorted in collections (array, set) according to regular service.ranking property as well as service.cmRanking (for ConfigurationPlugins) ordering. Added unit tests to make sure the comparator works as expected.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1186756 13f79535-47bb-0310-9956-ffa450edef68
2 files changed