This program sorts the rows of a 2D array using the insertion sort algorithm. The program allows you to select the column (by index) whose values you wish to sort based on, and then sorts the rows of a 2D array based on the values in that column.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.