Samsung Electronics interview question

write a script to sort numbers