Subject: [Boost-bugs] [Boost C++ Libraries] #11020: Natural sort
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-02-13 17:00:57
#11020: Natural sort
-----------------------+------------------------------
Reporter: anonymous | Type: Bugs
Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.57.0
Severity: Problem | 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/11020> 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