Hi, I have a question regarding sorting arrary and store them into subset. How can I sort an array according to the second column value and store them into subarrays. and get the value of second column. So for an arrary like the following, I would know there are 3 groups(1,2,3) according column 2 and I would get 3 subsets. Thanks a lot.
if true1 1 9999.69307 3.374E-281 1 9999.72441 4.662E-271 2 9999.73112 2.083E-291 2 9999.93918 4.851E-291 1 9999.95707 1.353E-261 3 9999.69307 3.374E-281 1 9999.72441 4.662E-271 2 9999.74112 2.083E-291 3 9999.98918 4.851E-291 1 9999.99707 1.353E-26 end
Best Answer