Sort:  

It worked this time though!!! :D

And I submitted my answer. I hope it's correct though, as I got a solution, but not sure if it's the absolute minimum.