|
|
@@ -262,6 +262,7 @@ impl SortField {
|
|
|
Self::ChangedDate => a.changed_time().cmp(&b.changed_time()),
|
|
|
Self::CreatedDate => a.created_time().cmp(&b.created_time()),
|
|
|
Self::ModifiedAge => b.modified_time().cmp(&a.modified_time()), // flip b and a
|
|
|
+
|
|
|
Self::FileType => match a.type_char().cmp(&b.type_char()) { // todo: this recomputes
|
|
|
Ordering::Equal => natord::compare(&a.name, &b.name),
|
|
|
order => order,
|