2 Dimensional Array Sorting

user1234 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Aug 26 03:07:53 PDT 2017


On Saturday, 26 August 2017 at 09:53:44 UTC, Vino.B wrote:
> On Saturday, 26 August 2017 at 06:12:57 UTC, user1234 wrote:
>> [...]
>
> Hi,
>   I tired you logic, but doesn't seem to be working, as every 
> time i execute the order of the file list is different as in 
> the below program i have used the sort based on the file name.
>
> [...]

Try with (a,b) => a[1].to!int < b[1].to!int as predicate. T


More information about the Digitalmars-d-learn mailing list