The natcasesort() function sorts an array by using a "natural order" algorithm. The values keep their original keys.
In a natural algorithm, the number 2 is less than the number 10. In computer sorting, 10 is less than 2, because the first number in "10" is less than 2.
This function is case-insensitive.
This function returns TRUE on success, or FALSE on failure.
The output of the code above will be:
Your Query was successfully sent!