What are the advantages and disadvantages of sorting algothms?
The main advantage is that they allow us a way to put information into a meaningful order.The main disadvantage is that even our best sorting algorithms have a O(n log n) performance, which means that it takes a very long time to sort large sets of data.