etlplus.ops.transformations.sort

etlplus.ops.transformations.sort module.

Sort helpers shared by etlplus.ops.transform and custom runners.

Use apply_sort() for direct record sorting. Use apply_sort_step() when you need the pipeline-style adapter consumed by etlplus.ops.transform.transform().

Functions

apply_sort(records, field[, reverse])

Sort records by a field.

apply_sort_step(records, spec)

Apply a sort pipeline step to a list of records.