Tom's inefficient sorting algorithm

I just thought of a way this could happen and tried to implement it.  Better to have something than nothing but I need to now improve my something...