Click to See Complete Forum and Search --> : sorting an array


cruella69
August 8th, 2000, 03:52 AM
I have a 2 dimensional array that I loaded with data from a file that looks like this.
col 1 2 3 4 5
row 1 C25 C01 C43 C15 C22
row 2 10 23 14 29 32

I need to retrieve the 3 highest amounts. In "RPG" land I would do "SORTA" in descending order and then read the first 3 elements. How Can I do the same thing or achieve the same results
in VB6?

Thanks

cruella69