added part of sorting test