Jquery Sort Array Of Objects Python Programming