Javascript object list sorting by object property

Posted by Constructor on Stack Overflow See other posts from Stack Overflow or by Constructor
Published on 2010-03-17T22:26:49Z Indexed on 2010/03/17 22:31 UTC
Read the original article Hit count: 192

I need to do this:

(sorry not in javascript syntax-still learning object language :) )

object=car

attibutes:top-speed, brand....

now I want to sort the list of those cars in order by top-speed, brand...

How do I do this (please note the solution must be javascript only, no php or other stuff) ?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about object-oriented