13.01.2019, 08:04
PHP код:
enum
tempArrayEnum {
tempArraySort
};
new
tempArray[24][tempArrayEnum] = {
95, 3, 7, 2, 233, 75, 1
};
SortDeepArray(tempArray, tempArraySort, .order = SORT_DESC);
Will become;
0, 0, 0, ..., 1, 2, 3, 7, 75, 95, 233
Loop through the array after you deep sort it, "continue" if "tempArraySort" == 0, this will give you your desired result.