Typescript Sort Array Of Objects By Two Open