The CALL SORTN Routine sorts array elements in the DATA-step.
Suggestion: Implement a faster CALL SORTN routine.
There are discussions in SAS Forums about this -
"the Quicksort Algorithm. The quicksort algorithm is popular, simple and very efficient. Introduction here. The quicksort algorithm is cleverly implemented in the article Quicksorting An Array by Paul Dorfman. "
/Br AndersS (Anders Skollermo)