i hope some body point me to the right direction.
i have a 2D array in vb.net with more than 3000 items. Each item has 36 sub items.
i want to sort as follows:
ex:
j=1
arr(3000,36)
for i= 0 t0 3000-1
for j=1 to 3000-1
if arr(i,14)=arr(j,4) then
'if the item matches entire item swap to 2nd place (cut and paste)
'if there is no match then go to next item ie arr(1,14) if it is
' swap item then go to arr(2,14) so on...
'if found exit for
end if
next
next
which is the best way to do this
i) split it into no. of 1 D arrays and sort and again combine it
ii) array of structure with 36 sub items and sort it
or any alternative to these
please guide me.