Domanda di colloquio di Ksolves

Puzzle logic questions based on sorting?