Jquery Sort Array Of Objects Python Interview