# SortArrayByArrayElement

Script
Arrays
5.4 OC
bool
array array2sort Array that is to be sorted
int element_index Index of element in sub-array by which sorting should happen
bool descending If true, elements are sorted in descending (highest to lowest) order. Otherwise ascending order.
Sorts an array of arrays by a subarray element. All elements must be arrays of at least element_index+1 size. Subarray elements should be either all strings or all integer.
SortArray
SortArrayByProperty
Sven2
2012-12