|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by IronDriver in Visual Basic Programming, Visual Basic v1.0.5.x, Algorithms
I have an application that contains a datagridview. The datagridview displays the values of three arrays in three columns.
Ex. Unsorted Arrays
Ts() Ps() Cs()
A Reg 2.50
A Mid 2.60
B Reg 2.52
B Pre 2.72
A Pre 2.73
I would first like to sort the arrays such that Ts() is sorted A's first. I would then like to sort them so that once the A's are sorted the Ps's are Ordered Reg,Mid, Pre
The sorted array should look like....
A Reg 2.50
A Mid 2.60
A Pre 2.73
B Reg 2.52
B Pre 2.72
Thank You!
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625