Sort:  

This time my answer turned out to be correct, although at first I thought about it for a long time :)