asort in PHP

Syntax of asort bool asort(array array[, int flags]) Sorts an array, maintaining the keys for the array values. The optional second parameter contains additional sorting flags. Returns true on success, false on failure Example of asort c = apple b = banana d = lemon a = orange