SCFile.setSortOrder() expects two ARRAY parameters

SCFile.setSortOrder() expects two ARRAY parameters, for sort fields and sort sequences, and the array lengths must be equal.

What does this error msg mean?