Typescript Push To Array Of Objects Definition In Python How To Sort