Initial sorting implementation.

Addresses https://github.com/cloudant/CloudantQueryObjc/issues/9
Documentation is wrong, presumably this returns the docIds sorted in the order specified.