Typescript Find Max Date In Array Python