[Gambas-user] gb3: sorting an array-like structure
Matti
math.eber at ...221...
Tue May 24 20:37:43 CEST 2011
Hi Kevin,
this sorting problem is (at least to me) still unsolved.
I gave up and used a lousy workaround, reading the 2-dim array into a 1-dim
string array like "field1/field2", then sorting this and reading the fields
backward again.
See Examples/Image/Lighttable, the sorting subs.
Works ok with a few hundred pictures (tested up to 1200), but for your amount of
data it sure will be not practicable.
If somebody knows a solution, I would be glad, too.
Regards
Matti
Am 24.05.2011 04:22, schrieb Kevin Fishburne:
>
> Looks like Matti had the same question back in 2009:
>
> http://old.nabble.com/sort-multidimensional-arrays-td26051359.html#a26059190
>
> The proposed solution sounds similar to the response given to me, though
> my feeble brain isn't able to convert it into code. Interesting that the
> post mentions a variant can be used as well as an object.
>
> Matti, if you're out there, do you have an example of how you sorted the
> example array in your post using these (or other) techniques?
>
More information about the User
mailing list