Call functionqsort()in the C run-time library. Specify a comparison function that orders the blank values higher than anything else. Alternatively, once you doSORTA, search for first non-blank element, then shift all array elements by that amount. This is probably the easier to code.

Reply With Quote