[Boost-bugs] [Boost C++ Libraries] #11021: Natural sort

Subject: [Boost-bugs] [Boost C++ Libraries] #11021: Natural sort
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-02-13 17:03:12


#11021: Natural sort
------------------------------+-------------------------
 Reporter: gast128@… | Owner: marshall
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: string_algo
  Version: Boost 1.57.0 | Severity: Cosmetic
 Keywords: |
------------------------------+-------------------------
 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).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11021>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC