Hi xld

I put your code in the standard module. Should I replace the "SortArray" variable with the name of my array, viz., MyList1(200, 4)? Also, it calls a procedure swapRows. This is not there in your code. Where is that part?