Sorting array of string arrays by an element in the string array

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Oct 21 18:02:16 PDT 2014


neal:

> Anybody have any suggestions?

Something like this, perhaps?

data.sort!q{ a[4] > b[4] };

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list