1 package org.paneris.jammyjoes.mvp; 2 3 import java.util.ArrayList; 4 import java.util.Collections; 5 import java.util.List; 6 import java.util.Map; 7 8 public class CollectionSorter { 9 10 public List sort(Map map) { 11 List result = new ArrayList(map.values()); 12 Collections.sort(result); 13 return result; 14 } 15 }