In this tutorial, we'll see a simple sorting algorithm. It will take as input a sequence of numbers, and will return the same numbers in sorted order.

# Example

Lets see an example.

Suppose the input is as follows: 5 10 8 7 3 6 12 2 7

Then the desired output is: 2 3 5 6 7 7 8 10 12

# Algorithm

Here's the algorithm we'll use to perform the sorting (Python code)

# simple_sort.py