Initial sorting implementation.

Addresses https://github.com/cloudant/CloudantQueryObjc/issues/9
Problem is it's not an object (it's an array). It is a JSON document, essentially, so I'm happy with document for now.