M
Mars
I don't know whether the inputs are all numbers or all strings...
if they are numbers, they are sorted as numbers,
if they are strings, they are sorted as strings....
e.g.
input : 9 12 2 4
output : 2 4 9 12
input : orange Banana
ouput : Banana orange
How can I do so??
if they are numbers, they are sorted as numbers,
if they are strings, they are sorted as strings....
e.g.
input : 9 12 2 4
output : 2 4 9 12
input : orange Banana
ouput : Banana orange
How can I do so??