I will explain very simply: there are 2 columns and 5,000 lines, in 1 column there are numbers from 0 to 4999, in the second there are random numbers. Here is an example:
[0][42] [1][23] [2][44] [3][123] [4][80] [5][19] It is necessary to arrange the second column so that the numbers in the first match the second. Here is an example:
[5][19] [1][23] [0][42] [2][44] [4][80] [3][123] I need this for a binary search.