There are two ways to do sorting :
1. Cobol program - sort statement
2. using JCL
sorting using cobol prog called as internal sort and sorting using jcl called as external sort.
Offcourse External sort is better because we can sort a file in 4 steps only. In internal sort we have to write complex code.
As a programmer i use short cut method but it depands upon the work.
thanks
manoj.