Category Archives: Sorting Arrays

PHP array push, and other array manipulators

Every once and a while I like to take a closer look at a particular function that I use quite frequently. This let’s me make sure I’m using that particular function to the best possible effect. I find it also … Continue reading

Posted in Sorting Arrays | 2 Comments

PHP Sorting and Renumbering Array Keys

In a previous article I covered sorting arrays when you need to maintain key-value relationships. There are times when your interested in sorting array values, and then have the array keys match the sort. There are three array sorts you … Continue reading

Posted in Sorting Arrays | Leave a comment

PHP Sorting while Maintaining Key and Value Relations

PHP has many built in array sorting functions. They are simple to use and provide a multitude of sorting options. I’ll cover the sorting in three articles.  These first sort functions all maintain the association between the key fields and … Continue reading

Posted in Sorting Arrays | Leave a comment