Dodana obsluga TreeMap