Back
Close

ASCII sorting

Statement

 Goal

You have to sort a character string by their ASCII value
Input
Line 1 string the characters to sort
Output
1 Line the character chain sorted
Constraints
Example
Input
CBA
Output
ABC

Game modes
Reverse

Test cases
Test 1 Test
Input
CBA
Output
ABC

Validator 1 Validator
Input
FED
Output
DEF

Test 2 Test
Input
AhYKi
Output
AKYhi

Validator 2 Validator
Input
AzCyB
Output
ABCyz

Test 3 Test
Input
3#4#15
Output
##1345

Validator 3 Validator
Input
#93#
Output
##39

Test 4 Test
Input
[#*9Ea
Output
#*9E[a

Validator 4 Validator
Input
*#A|3x
Output
#*3Ax|

Solution language

Solution

Stub generator input