sortedsolution