fixed sorting with treemap