New script step to sort records by field name using indirection

Idea created by mislav on Oct 27, 2015

    This new script step would simplify writing scripts to sort records, making it possible to abstract the fields that you want to sort by. The 'Sort Records by Field', which was introduced in v12, got us closer to being able to do this, but it requires that the field that you are sorting on is the active field, and it doesn't allow for sorting on multiple fields.