public static void SortNames(MapleClient c, String name) {
            lock.readLock().lock();
            try {
                for (MapleGuild g : guilds.values()) {
                    if (g.getName().contains(name) && g.getLeader(c).getName().contains(name)) {
                        sorted.put(g.getId(), g);
                    }
                }
            } finally {
                lock.readLock().unlock();
            }
        }