Sort:  

Just check the full solution above. :)