Add sorting tests.
Merge pull request #138 from square/sorting-tests

Add sorting tests.