Preserve append-after-max ordering when omitting sort_order and keep global uniqueness enforced by DB. Co-authored-by: Cursor <cursoragent@cursor.com>