private SortNode[] CopyArray(SortNode[] array)
        {
            var result = new SortNode[array.Length];

            Array.Copy(array, 0, result, 0, array.Length);
            return(result);
        }
        private SortNode[] GetStableArray()
        {
            SortNode[] nums = new SortNode[10000];
            int        value;

            for (int i = 0; i < nums.Length; i++)
            {
                value   = i % 100;
                nums[i] = new SortNode(i, value);
            }
            return(nums);
        }
        private SortNode[] GetRandomArray()
        {
            SortNode[] nums = new SortNode[10000];
            int        value;

            for (int i = 0; i < nums.Length; i++)
            {
                value   = GetRandomNumber(0, 10000);
                nums[i] = new SortNode(i, value);
            }
            return(nums);
        }