use treemap for sorting group titles