Fix regression test and sort order for identical selectors (#14)
Merge pull request #22 from leith/master

Fix regression test and sort order for identical selectors (#14)