GRADE_DOWN(ARRAY,DIM) Permutation that sorts into descending order Optional DIM GRADE_UP(ARRAY,DIM) Permutation that sorts into ascending order Optional DIM SORT_DOWN(ARRAY,DIM) Sort into descending order Optional DIM SORT_UP(ARRAY,DIM) Sort into descending order Optional DIM