In a system and method for grouping data, a processor may, with reference
to metadata identifying relationships between sets of data to be
displayed in columns of a table, generate a display template from the
identified relationships, the template defining that related columns of
data are presented adjacent to each other in groups and defining which
types of graphical demarcations to display, may search among records
corresponding to rows of the table to be displayed for records that
satisfy a search criterion, and may display a table according to the
display template, rows of the table arranged to display the records that
satisfy the search criteria in a group separate from the other records.