Sort groups with explicitly-specified items, too.

Fixes #422 

Here's what this looks like:
![screenshot - 181114 - 10 08 26](https://cloud.githubusercontent.com/assets/924374/5079683/e2479220-6f0a-11e4-9402-9a14a73923dd.png)