public int compareNames(Location dest1, Location dest2) {
        Player player = getMyPlayer();
        String name1 = "";
        if (dest1 instanceof Settlement) {
            name1 = Messages.message(((Settlement) dest1).getLocationNameFor(player));
        } else if (dest1 instanceof Europe || dest1 instanceof Map) {
            return -1;
        }
        String name2 = "";
        if (dest2 instanceof Settlement) {
            name2 = Messages.message(((Settlement) dest2).getLocationNameFor(player));
        } else if (dest2 instanceof Europe || dest2 instanceof Map) {
            return 1;
        }
        return name1.compareTo(name2);
    }