Grouping and ordering controls in a report dialog