I have an array like this:
var myarray = [Object { category="21f8b13544364137aa5e67312fc3fe19", order=2}, Object { category="5e6198358e054f8ebf7f2a7ed53d7221", order=8}]
Of course there are more items in my array. And now I try to order it on the second attribute of each object. (the 'order' attribute)
How can I do this the best way in javascript?
Thank you very much!