Start by picking a sorting algorithm, then implement it. If you have any trouble with the coding, post your code and explain what isn't working how you'd expect.

As nmaillet said, pick a sorting algorithm and try to implement it. The wiki page has a pretty complete list. You should probably start with one of the simpler methods (the O(n^2) algorithms) like Bubble Sort, Insertion Sort, or Selection Sort. As for reproducing the behavior of the standard sort algorithm, it uses an intro-sort algorithm, which requires that you also implement quick-sort and heap-sort. Merge-sort is another interesting alternative.

When I execute this progammatically, I get a table with row heights much larger than when I do this manually.

Note : Sel is the Word.Selection object and the Clipboard contains an Excel Table.

public void AddClipboard()
{
Sel.PasteExcelTable(false,false, false);
var t = Sel.Tables[Sel.Tables.Count];
t.AutoFitBehavior(Word.WdAutoFitBehavior.wdAutoFitContent);
}

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...