10

In php: Arrays: worst way to sort is the fucking sort() function.

Comments
  • 1
    If you the data is retrieved from dB you can sort it before storing it in an array
  • 2
    If you retrieve the data from db, you can sort it before storing it in an array.

    PS : sorry had to comment again cuz couldn't edite the previous comment that i wrote with my foot
  • 0
    I'm dealing with a short list no need of DB. ksort() works just fine! @Baguette :)
Add Comment