This algorithm can help you with your homework. Not only is it fast but it works with whole numbers, decimals, and even negative numbers. It sorts in a ascending order.