Document Entity Date Sorter

Parse compact document records, sort them by dateline, and collect unique named entities.

Description

Structured document records can be ordered by date and summarized by explicitly supplied entity labels.

Structured document records can be ordered by date and summarized by explicitly supplied entity labels. The tool does not extract entities from prose.1

Parse compact document records, sort them by dateline, and collect unique named entities.

When to use Document Entity Date Sorter

Use this tool to parse compact document records, sort them by dateline, and collect unique named entities.

Prepare the text, recorded observations, aligned figures or editorial criteria requested. Confirm what each label, count, timestamp or supplied flag represents before interpreting the result.

How to use Document Entity Date Sorter and understand its results

  1. Prepare the text, recorded observations, aligned figures or editorial criteria requested. Confirm what each label, count, timestamp or supplied flag represents before interpreting the result.
  2. Enter records using the field table and calculation rules, then run the tool.
  3. Read sortedRecords, uniqueEntities, recordCount. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
Input fieldMeaningValue type; see rules belowRequirement
recordsDocument recordslist of stringRequired

Enter date|entities|summary records. Require YYYY-MM-DD text with a valid native UTC parse; preserve extra pipes in summary. Sort by date string, collect case-sensitive entities and sort them with localeCompare. Return sorted original records, entity list and record count. Empty records are allowed.

sort by date text; entities=unique trimmed nonblank comma-separated labels

Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.

Output fieldMeaningValue type
sortedRecordsDate-sorted recordslist of string
uniqueEntitiesUnique entitieslist of string
recordCountRecord countinteger; minimum: 0
json
{
  "input": {
    "records": [
      "2025-03-02|Acme Corp,Alice Jones|Contract signed",
      "2025-01-10|Bob Lee|Filing received"
    ]
  },
  "output": {
    "sortedRecords": [
      "2025-01-10|Bob Lee|Filing received",
      "2025-03-02|Acme Corp,Alice Jones|Contract signed"
    ],
    "uniqueEntities": [
      "Acme Corp",
      "Alice Jones",
      "Bob Lee"
    ],
    "recordCount": 2
  }
}

Limitations and assumptions

Some calendar dates normalize during parsing. No NLP, factual date validation or entity-resolution service is used.

Numeric inputs must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Lists are limited to 100,000 entries; the rules above may require smaller limits. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.

Alternative or Complementary methods

Use Live-Blog Chronology Sorter: Sort timestamped live-blog entries in a caller-selected chronological direction. For a complementary task, use Records Request Deadline Sorter: Parse and sort agency request deadlines, identify overdue agencies, and find the next due date.

References

  1. Document Entity Date Sorter — tool.io

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies