Sort Typescript Array Of Objects Python Tutor