Typescript Array Sort Object React Js