Typescript Change Position In Array