sort3 solved