These functions use the following arguments for output:
A - On output, A contains the sorted array.
ier (Fortran only) - When called from a Fortran program, this function returns error status in ier.