The Sort/Merge (SOR) routines allow you to integrate a sort or
merge operation into a program application. Using these callable
routines, you can process records, sort or merge them, and then
process them again.
Additional Information:
explode
extract