Sunday, 25 August 2013

How to sort an array by value?

How to sort an array by value?

I have an array that looks like ["Lloyd's Burgers"=21, "Patty's
Flowers"=17]. How can I sort this array by the number?
I would give sample code but I couldn't find anything in the documentation
about sorting an array by value.

No comments:

Post a Comment