Hey ppl

I need some help

I want to know what is the correct source code for sorting numbers

say I entered num1,num2,num3,num4 and num5 what would the correct source code be to sort them in ascending order

help plz