Dayforce interview question

Sort a string using any programming language