Typescript Array Sort By Two Properties Of Ionic Compounds