Typescript Find Item In Array Of Objects Sort In Javascript