Support sorted-sets

Hi, this fixes #23.  I've added one test to verify the fix (outlined in the issue).  It still passes all the other tests in test-parser.