Data Sorting with Selection SortΒΆ

Non-Causal Step

This step applies the Selection Sort algorithm to sort a list of data elements in ascending or descending order.

Input Parameters

  1. A list of data elements

Output Parameters

  1. A list of data elements in ascending order or descending order

Workflow

../../../../_images/workflow69.svg

Algorithm

Selection Sort

References

    1. Knuth, The Art of Computer Programming, vol. 3: Sorting and Searching, 3rd Edition, Addison-Wesley, 1997.