예제 #1
0
        private GroupedItem <T>[] SortBlock(GroupedItem <T>[] block)
        {
            _Status = SortStatus.Sorting;

            if (_sortStrategy.IsSorted(block))
            {
                return(block);
            }

            block = _sortStrategy.Sort(block);

            _BlocksSorted++;

            return(block);
        }