var array = [["Sally", "3", "blue"], ["Jack", "6", "green"], ["Harold", "2", "yellow"]]
I am trying to order the contents of this [[String]]
based on the first index of each value (ordering by the names; Sally, Jack, Harold).
Is there a Swift 3 method that I can use to order these automatically? Or, is there some loop I can create that will iterate through these inner arrays to sort them based on the names of the people?