def db_entries(package):
from acorn.logging.database import dbs<EOL>tdb = dbs[("<STR_LIT>", package)]<EOL>entries = []<EOL>for uid, elist in tdb.entities.items():<EOL><INDENT>for entry in elist:<EOL><INDENT>entries.append((uid, entry))<EOL><DEDENT><DEDENT>return (sorted(entries, key=lambda e: e[<NUM_LIT:1>]["<STR_LIT:s>"]), tdb.uuids)<EOL>
Returns the list of entries in the database, sorted by timestamp so that
    they can be tested explicitly.

    Args:
        package (str): package (task) name configured via
          :func:`acorn.set_task`.