How to make a program that to display the numbers from biggest to small number

I write 3 numbers for example: 2, 6, 1
This are the numbers that i will write
and to display them in this type from biggest to smallest : 6, 2, 1
How to do it?