Plz check this I/p O/P


#1
Input 4:
    A = [20, 50, 113]

Output 4:
    [20, 113, 50]

result should be 50, 113, 20
as here [20, 113, 50] < [20, 50, 113]