added sortingThree