Opened 8 years ago
Closed 8 years ago
#11020 closed Bugs (invalid)
Natural sort
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Milestone: | To Be Determined | Component: | None |
Version: | Boost 1.57.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Alphabetically sorting gives unwanted results for humans. For example the following strings get sorted this way: Arena 1 Arena 10 Arena 2
What humans like is: Arena 1 Arena 2 Arena 10
This is not trivial since the numbers can appear anywhere. Would this be a nice extension for Boost as well? Microsoft has solved this in StrCmpLogicalW. See also 'sorting-for-humans-natural-sort-order' (can't include a link; I get a trac-think-it-is-a-spam error)
Note:
See TracTickets
for help on using tickets.
Please, post on the Boost ML for this kind of requests.