I have a list of type <string[]>, and each item in the list is a one-dimensional array. I need to sort the list according to a particular field in the arrays, how can I do this? An illustration for clarity:
list item #1 = array(112, Maxwell Smart, MIS)
list item #2 = array(208, Bubba Joe, BNJ)
list item #3 = array(407, Mary Poppins, MEP)
I need the list re-ordered so that the arrays are sorted by the last field of the array, so the list should end up being like this:
list item #1 = array(208, Bubba Joe, BNJ)
list item #2 = array(407, Mary Poppins, MEP)
list item #3 = array(112, Maxwell Smart, MIS)