Sort:  

well thank you! sometimes thinks like that happen quickly with me haha..

For the reverse function, the argument was missing. it goes like this reverse(chaine)