Sort naturally

This commit is contained in:
Jeremy Soller 2024-01-05 09:48:39 -07:00
parent b9f0510b5d
commit e3bc82f0f3
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
3 changed files with 18 additions and 1 deletions

View file

@ -88,7 +88,7 @@ impl Ord for ProjectNode {
}
}
}
self.name().cmp(other.name())
lexical_sort::natural_lexical_cmp(self.name(), other.name())
}
}