Stable V.S. Unstable Sorting Algorithms