Attempts to sort given array either in ascending (true) or descending (false) order.
All array elements should be one of the following types:
String - array of strings (["a","b","c"...])
Number - array of numbers ([1,2,3...])
Array - array of subarrays ([["a",1,2],["b",3,4],["c",5,6]...]).
Subarrays should be of the same structure. Subarray elements other than String or Number will be ignored during sorting.
Mixed arrays (["a",1,[true]...]) are not supported and results are undefined.
order:
Boolean - true: ascending, false: descending