Source: https://www.angelique-renaud.com/tri/Algorithmes de tri prof.pdf