Add option to export report - refs BT#9087
Sort the report data - refs BT#9087