0

Let say I have a line for numbers

2 4 5 8 7 9 1 3

and i want to sort them in numerical order how would i do this? I found a similar topic but it was of no help someone said to do bubble sort and then everyone bashed him for doing so and no provided what a bubble sort or any other sorting algo structure looked like it