Sorting, with tests

Replaces #47. Sorting now tested with `rake spec`, and running specs will not interfere with any data that already exists in the simulator environment.

README updated to describe the OO interface.