def sort(self, key_or_list, direction=None):
        self.__check_okay_to_chain()
        keys = helpers._index_list(key_or_list, direction)
        self.__ordering = helpers._index_document(keys)
        return self
@return: a Deferred which will fire when the certificate has been
dataset/ETHPy150Open blynch/CloudMemeBackend/pymongo/cursor.py/Cursor.sort--crossover with--dataset/ETHPy150Open twisted/vertex/vertex/q2q.py/DefaultCertificateStore.storeSelfSignedCertificate