SAP interview question

In place sorting of String.