stepsSort
stepsSort is a sorting algorithm that operates by repeatedly finding the minimum element from the unsorted portion of a list and putting it at the beginning of the sorted portion. It is a simple comparison-based sorting algorithm.
The algorithm proceeds in passes. In each pass, it iterates through the unsorted portion of the list,
The process continues until the entire list is sorted. The number of passes required is equal to
Due to its quadratic time complexity, stepsSort is not efficient for large datasets. However, its simplicity