Typescript Array Sort By Two Properties Are Produced