Ordering of Parameters

There is an accepted style for ordering arguments in the formal argument list of a function.

  1. Input arguments are listed first.

  2. Input/output arguments are listed next.

  3. Output arguments are listed last.