We are always looking for input on our tutorial content. If you have a suggestion, comment, additional information on this topic that you feel should be added, drop us a line. We appreciate your input.
In this tutorial we look at the functions in PHP that are associated with sorting indexed and associative arrays. We demonstrate the proper use of the sort() function the rsort () function, asort() function, the arsort() function and the ksort() and the kasort() functions. These functions are all demonstrated and explained in the tutorial. The print_r function is used throughout the demonstration to out our results to the browser window.