Algorithm Implementation/Sorting/Selection sort

This article describes implementations of the selection sort sorting algorithm in a variety of real-world programming languages.

C
This is an implementation of the unstable variant:

This is an implementation of the stable variant:

Java
An iterative implementation:

A recursive implementation:

Ruby
Implementazioni di algoritmi/Selection sort