A string consisting only of lowercase letters is given. It is necessary to sort the characters in this string in ascending and descending order according to their ASCII codes.
The input is a string consisting only of lowercase letters, with a length of no more than 100 characters.
The first line should provide the characters sorted in ascending order according to their ASCII code, while the second line should provide them in descending order.
Example 1