CitiusTech interview question

write code to display numbers in ascending order