Sorting Algorithm With Minimum Swaps To Sort