Supporting Interactive Sorting in Preview

If this feature is supported, report container table header fields can be used to toggle between different sortings in the preview window. For convenience, this feature uses the same callback as drilldown printing, so in most cases you can simply reuse your existing code and just make sure it works even if no drilldown filter is set in the passed structure (i.e. all table IDs and key field values are empty).