对于“sort”命令每行 65535 个字符的限制,什么是好的解决方法?

mer*_*011 5 unix sorting shell command-line cmd

以下是排序命令帮助功能的片段:

 /REC[ORD_MAXIMUM] characters Specifies the maximum number of characters
                         in a record (default 4096, maximum 65535).
Run Code Online (Sandbox Code Playgroud)

当我尝试对长行文件进行排序时,出现以下错误:

C:\Users\heqin\PIM2>cat Artist_Input.tsv | sort /REC 65535
Input record exceeds maximum length.  Specify larger maximum.
Run Code Online (Sandbox Code Playgroud)

如果无法编写自定义脚本(例如,使用 Python)来处理这种情况,那么对行长超过 65535 的文件进行排序的好解决方法是什么?

作为澄清,我使用的是 Unix Utils 版本的“sort”,在 Windows 上运行。