0

I need to sort a column of a 2D array. What is the most efficient way to do so? Can I copy the entire column of 2D array to a new 1D array then sort it from there. I need it to be fast.

1

1 Answer 1

0

Just use normal QuickSort and give it another parameter for column index.

input[i, columnIndex] = temp;
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.