I have a list of string arrays, where the arrays are formatted as [Animal, Breed, Name]:
{ [\"Dog\", \"Golden Retriever\", \"Rex\"], [\"Cat\", \"Tabby\", \
If you can use LINQ, you can do something like:
myanimals = myanimals.OrderBy(a => a[0]).ThenBy(a => a[1]).ToList();
Or the same in query:
myanimals = (from a in animals order by a[0], a[1] select a).ToList();