Change collection comparator, add a pie chart