From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Herring, Davis" Newsgroups: gmane.emacs.devel Subject: RE: Human-readable file sorting Date: Sat, 20 Feb 2016 16:03:22 +0000 Message-ID: References: <87povs41xg.fsf@gnus.org> <87bn7c3yms.fsf@gnus.org> <83si0npxtn.fsf@gnu.org>, NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1455984237 10804 80.91.229.3 (20 Feb 2016 16:03:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Feb 2016 16:03:57 +0000 (UTC) Cc: Lars Ingebrigtsen , Emacs developers To: Pierpaolo Bernardi , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 20 17:03:47 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aXA0Z-0003oX-1o for ged-emacs-devel@m.gmane.org; Sat, 20 Feb 2016 17:03:47 +0100 Original-Received: from localhost ([::1]:33783 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXA0Y-0007kw-DO for ged-emacs-devel@m.gmane.org; Sat, 20 Feb 2016 11:03:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXA0I-0007k2-FP for emacs-devel@gnu.org; Sat, 20 Feb 2016 11:03:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXA0F-00013Y-9b for emacs-devel@gnu.org; Sat, 20 Feb 2016 11:03:30 -0500 Original-Received: from proofpoint5.lanl.gov ([2001:400:4210:400::a5]:35685) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXA0F-00013I-3K for emacs-devel@gnu.org; Sat, 20 Feb 2016 11:03:27 -0500 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by mailgate5.lanl.gov (8.15.0.59/8.15.0.59) with ESMTP id u1KG3N8C019872; Sat, 20 Feb 2016 09:03:23 -0700 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 8C5FCEEF151; Sat, 20 Feb 2016 09:03:23 -0700 (MST) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay2.lanl.gov Original-Received: from ECS-EXG-P-CH05.win.lanl.gov (ecs-exg-p-ch05.win.lanl.gov [128.165.106.15]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 70CEDEEF156; Sat, 20 Feb 2016 09:03:23 -0700 (MST) Original-Received: from ECS-EXG-P-MB01.win.lanl.gov ([169.254.1.2]) by ECS-EXG-P-CH05.win.lanl.gov ([128.165.106.15]) with mapi id 14.03.0266.001; Sat, 20 Feb 2016 09:03:23 -0700 Thread-Topic: Human-readable file sorting Thread-Index: AQHRa3xTdTYequxiK0at/blCOXlSuZ80oYVhgADlkQD//5BBSA== In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [128.165.106.66] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.15.21, 1.0.33, 0.0.0000 definitions=2016-02-20_09:2016-02-19, 2016-02-20, 1970-01-01 signatures=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 2001:400:4210:400::a5 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:200323 Archived-At: > The established name is "natural sort". There's no reason to invent a ne= w one?=0A= > =0A= > https://en.wikipedia.org/wiki/Natural_sort_order=0A= =0A= gnulib and ls call the idea "version sort": (coreutils)Details about versio= n sort. (The name "natural sort" seems to suggest a universality that it d= oesn't have.)=0A= =0A= This is not quite the same as the general "treat digit sequences as integer= s" associated with the name "Natural sort order", and is also slightly diff= erent from Emacs' own `version<'. I fear the confusion from all these almo= st-equivalent algorithms...=0A= =0A= Davis=