'Return entries in this pack, sorted by SHA.
:param progress: Progress function, called with current and total
object count
:return: List of tuples with (sha, offset, crc32)'

def sorted_entries(self, progress=None):

    ret = sorted(self.iterentries(progress=progress))
    return ret
