PHP array sorting function. Sort: This function assigns a new key name to the cell in array. This will delete the original key name, not just the reorder. Rsort: This function sorts the array in reverse order (up to the lowest ). Sort: This function assigns a new key name to the cell in array. This will delete the original key name, not just the reorder.
Rsort: This function sorts the array in reverse order (up to the lowest ). Deleting the original key name is not just a re-sorting.
Asort: sorts arrays and maintains the index relationship.
Arsort: sorts arrays in reverse order and maintains the index relationship.
Ksort: sorts the array by key name and retains the association between key names and data.
Krsort: sorts the array in reverse order by key name, and retains the association between key names and data.
Natsort: sorts alphanumeric strings and keeps the original key/value Association.
Natcasesort: same as natsort, but not case sensitive.
Assign the new key name to the unit in the comment array. This will delete the original key name, not just the reorder. Rsort: This function sorts the array in reverse order (up to the lowest )....