/* Header file to describe namespaces */

!sort_and_reverse = 
<
  "sort", "reverse", "cmp", "SORT_*"
>;

as # sort_and_reverse =
<
  sort (ptr -&w [], int, cmp -fp, SORT_*);
  reverse (ptr -&w [], int);

  cmp = ((ptr, ptr) byte); 

  SORT_* // ASC, DESC;
>;

ls # sort_and_reverse =
<
  sort (vb -w, vb, cmp -fp, SORT_*);
  reverse (vb -w, vb);

  cmp = ((vb, vb) byte);

  SORT_* // ASC, DESC;
>;

## array-sort :: as : {*}
## list-sort :: ls : {*}