• + 1 comment

    Try using TreeMap so the keys will be in sorted order