Windows Explorer sort method

前端 未结 8 1237
萌比男神i
萌比男神i 2020-12-11 00:33

I\'m looking for an algorithm that sorts strings similar to the way files (and folders) are sorted in Windows Explorer. It seems that numeric values in strings are taken int

8条回答
  •  鱼传尺愫
    2020-12-11 01:04

    Have a look at

    http://www.interact-sw.co.uk/iangblog/2007/12/13/natural-sorting

    for some source code.

提交回复
热议问题