Source: https://www.ac-grenoble.fr/savoie/pedagogie/docs_pedas/programmation_algorithmes_cycle3/B_tris/unplugged.pdf