Sort:  

There are 2 tasks in the post, I wait for the answers :)