Sort:  

exactly! Thank you, @zest.

Did you already knew it or solved it for the first time?

It was part of a test I did at 14:)