Typescript Array Sort String Characters