// SortDemo // // This macro demonstrates how to sort an array // of numbers or an array of strings. a = newArray(10, 1, 7, 3, 15, 4, 12); sort(a); list(a); a = newArray("dog","cat","rabbit","mouse","fish","bird"); sort(a); list(a); n=10000; a = newArray(n); for (i=0; ia[i]) i++; while (j>from && center