Sort:  

I kind of got ahead of myself there XD
As I am doing it myself, I realize it is not trivial.