Initial sorting implementation.

Addresses https://github.com/cloudant/CloudantQueryObjc/issues/9