Adds the option to have a different display value from the value used for grouping

It might not be the right way to do this, so feel free not to take this, but this branch supports having a different value displayed to the user from that used for splitting the groupings.