Write a function to sort characters from given string?
Login to Submit
Input: "cat" Output: "act" Input: "bat" Output: "abt" Input: "book" Output: "bkoo"