mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
b73f3fc01a
commit
c5cf7169bc
1 changed files with 2 additions and 2 deletions
|
|
@ -79,9 +79,9 @@ impl FilesSorter {
|
|||
}
|
||||
|
||||
let ordering = if self.sensitive {
|
||||
natord::compare_ignore_case(&entities[a].0, &entities[b].0)
|
||||
} else {
|
||||
natord::compare(&entities[a].0, &entities[b].0)
|
||||
} else {
|
||||
natord::compare_ignore_case(&entities[a].0, &entities[b].0)
|
||||
};
|
||||
|
||||
if self.reverse { ordering.reverse() } else { ordering }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue