stx0821
V2EX  ›  问与答

everything 的按名称排序和 windows 系统不一样,怎么办

  •  
  •   stx0821 · Dec 10, 2025 · 1519 views
    This topic created in 157 days ago, the information mentioned may be changed or developed.

    比如 windows 的按名称排序是正确的:

    1.txt
    2.txt
    10.txt
    

    而 everything 的按名称排序则是:

    1.txt
    10.txt
    2.txt
    

    版本是用的最新版本

    6 replies    2025-12-11 08:48:47 +08:00
    peteretep
        1
    peteretep  
       Dec 10, 2025
    windows 优化名字排序,叫自然序,按照连续数字理解为一个数字从小到大排的
    大多数软件没有这个优化,仅仅是字符串排序
    superrichman
        2
    superrichman  
       Dec 10, 2025
    ascii/unicode 排序比自然排序要快很多,everything 追求性能不用自然排序很正常。
    stx0821
        3
    stx0821  
    OP
       Dec 10, 2025
    @peteretep 我尝试了两个软件 BandiView 和 FastStone Image Viewer ,排序都是和 windows 系统是一样的
    512357301
        4
    512357301  
       Dec 10, 2025 via Android
    自然序确实是优化过的,古早的软件都是字符串排序,否则那些歌曲、评书之类的为啥都在前面加 000
    lswlray
        5
    lswlray  
       Dec 10, 2025   ❤️ 1
    升级到 1.5 以后的版本(测试版)就可以解决这个问题
    stx0821
        6
    stx0821  
    OP
       Dec 11, 2025
    @lswlray 感谢,唯一正解!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1058 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 18:34 · PVG 02:34 · LAX 11:34 · JFK 14:34
    ♥ Do have faith in what you're doing.