Typescript Find Item In Array Of Objects Sort Javascript W3schools