How to reorder the "due date" after add cards in batch without affecting the existing learning record?

I have a deck, which have some new cards and some learned cards, e.g.

Sort Field Due
about New #101
be 2026-12-30
cake New #102

After adding new cards “access”, “be about to do sth.”, it will show

Sort Field Due
about New #101
access New #103
be 2026-12-30
be about to do sth. New #104
cake New #102

I have two requirements

  1. if the new card has word, like “access”, I want the “due” of the new cards follows the alphabetic order,
  2. if the new card has phrase, like "be about to do sth.,I want the the “due” of the new cards follows the “key word”: about
Sort Field Due
about New #101
be about to do sth. New #102
access New #103
be 2026-12-30
cake New #104

How to achieve this without manually editting?

Is “key word” one of the fields in your note/note type? If so, set that as the Sort Field, sort by that column, and use Reposition to adjust the New-queue positions to match that order.

If not, there’s no way to do that. Anki can’t guess what word in the card is the one you want to index by.