Grouping legend order fixed.