jarvis/Database.py
def sort(self, keyname: str) -> None:
        """
        Sort all documents in the current DocumentList by a given `keyname`
        """
        self.document_list = sorted(
            self.document_list, key=lambda k: k[keyname] if keyname in k else 0)
        return self

        Sort all documents in the current DocumentList by a given `keyname`
        
Sort all documents in the current DocumentList by a given `keyname`
Sort all documents in the current DocumentList by a given ` keyname `
def sort(self, keyname: str) -> None:
        self.document_list = sorted(
            self.document_list, key=lambda k: k[keyname] if keyname in k else 0)
        return self
def sort ( self , keyname : str ) -> None : self . document_list = sorted ( self . document_list , key = lambda k : k [ keyname ] if keyname in k else 0 ) return self
Sort all documents in the current DocumentList by a given `keyname`
Sort all documents in the current DocumentList by a given ` keyname `
"""
        Sort all documents in the current DocumentList by a given `keyname`
        """
self
keyname
str