Re: [Gambas-user] Natural sorting in Gambas 3

2010-01-25 Thread Steven James Drinnan
Wow that must be a first in a programming language, as most don't even bother. It's something that I always had a bug bear about. But have never had the time to implement this sort of sort on my programs. Great work, it this sort of functionality that has made Gambas great. Steven Drinnan On Mon

Re: [Gambas-user] Natural sorting in Gambas 3

2010-01-25 Thread Olivier Cruilles
Hi Benoit, Thank you for this great new, I need exactly this kind of sort possibility, but in Gambas 2.xx... I'll wait for the stable Gambas 3. Le 25 janv. 2010 à 20:16, Benoît Minisini a écrit : > Hi, > > I have implemented string natural comparison and sorting in the last Gambas 3 > revis

[Gambas-user] Natural sorting in Gambas 3

2010-01-25 Thread Benoît Minisini
Hi, I have implemented string natural comparison and sorting in the last Gambas 3 revision. With that, you can, for example, sort a file name array returned by Dir() that way: Photo1.jpg Photo1a.jpg Photo1b.jpg Photo2.jpg ... Photo9.jpg Photo10.jpg Photo11.jpg Instead of: