From: Junio C Hamano Date: Sat, 07 Jun 2008 00:17:02 GMT Subject: Re: [PATCH] use natural ordering to display list of branches. Message-ID: <7vej7aqetd.fsf@gitster.siamese.dyndns.org> In-Reply-To: "Cedric Vivier" writes: > On Sat, Jun 7, 2008 at 1:06 AM, Johannes Schindelin > wrote: >>> On Fri, Jun 6, 2008 at 11:04 PM, Brandon Casey wrote: >>> > But can't that be just as easily done by piping through sort? (I >>> > understand there is a platform which lacks the sort utility, boohoo) >>> >>> Yes, but sort does not have a natural sort option afaik. >> >> sort -n > > Hi! > > It is not natural sort but usual boring non-natural numeric sort ;) > With the use-case in original post the list would appear exactly the > same than with strcmp sort. Somebody suggested strvercmp(); how does the natcmp() compare with it?