Sort groups with explicitly-specified items, too.
Merge pull request #459 from NICTA/sortExplicitGroups

Sort groups with explicitly-specified items, too.