Thank you very much, Tobi, for the insights, and the link to the "GridView – Sortierung der Daten"
Based on that I tried to implement the following, to test the concept. But the values for the rows (B) are the same in all cases (always 0 ...) as if the variable "i" wasn't incrementing in the loop (but it is). What am I missing...where have I gone wrong? / Dim A As New Variant[] Dim B As New Variant[] Dim i, j As Integer For i = 0 To 9 For j = 0 To 19 B.Add((ij)) Next A.Add(B) Next / -- View this message in context: http://gambas.8142.n7.nabble.com/Sort-multidimensional-array-tp58403p58416.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user