Hi guys,
I have an array that has mixed data of strings and integers and i want to sort it by the LAST element which is an integer:
myArray[string,string,integer,integer,string,integer]
How do I do this??
Printable View
Hi guys,
I have an array that has mixed data of strings and integers and i want to sort it by the LAST element which is an integer:
myArray[string,string,integer,integer,string,integer]
How do I do this??
To be sure that I understand you correctly, when sorting via the last index value of the array(in this case an integer) the results should be sorted as (int, int, int, string, string, string)?