Allow for collation by data attributes using TreeMap