How to make this sorting Algorithm work

Printable View