(CityProblem a, CityProblem b)
| 136 | CityProblem [] probOrder = CityProblem.values(); |
| 137 | Arrays.sort(probOrder, new Comparator<CityProblem>() { |
| 138 | public int compare(CityProblem a, CityProblem b) { |
| 139 | return -(problemVotes.get(a).compareTo(problemVotes.get(b))); |
| 140 | }}); |
| 141 | |
| 142 | int c = 0; |
| 143 | while (c < probOrder.length && |