Update to match spec for "loosely sorted" restrictions
Update unit test
Merge pull request #172 from dstockwell/sort

Update to match spec for "loosely sorted" restrictions