forked from troter/xyzzy
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
ファイラの自然順ソートをエクスプローラとあわせる (#347)
従来の自然順ソートアルゴリズムでは数字の桁数で大小を比較しているため、 先頭に 0 がついている場合にソート順がエクスプローラとずれる場合があった。 例) 3.txt 02.txt 001.txt 数字部分に関しては数値に変換した上で大小を比較するように変更する。
- Loading branch information
Showing
1 changed file
with
4 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters