> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.metalocator.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Grouping results

When displaying results, sometimes certain results are related by a common data element. An obvious example might be "State", where you might want all results in a certain state to be displayed under a state-level heading as shown below.

[![](https://storage.crisp.chat/users/helpdesk/website/-/f/f/e/e/ffeed7ad853c8000/69b2ba14-aa68-46fa-a192-30157c_1gwf6az.png)](https://downloads.intercomcdn.com/i/o/360201485/3262dba817a37f33dfa5d137/image.png?expires=1794511800&signature=9aefe646ccca1e5e6011bc0396e649b77748b95f81a258b68c429ac62f322fd8&req=dyYnFMl%2FmYlaFb4f3HP0gOEUjY%2B6sVrIRNutOV3Q08FGolRBQaNugmYLmOIN%0AFfNHeGeGmnkeMKAJsw%3D%3D%0A)

To enable grouping, under Filter & Sort, choose the field to Group on under Field Sorting, and be sure to check the Group checkbox as shown:

[![](https://storage.crisp.chat/users/helpdesk/website/-/a/7/e/2/a7e29e261a219800/6d62c4d7-37f1-4cbe-ac2e-ba6ce4_1btv1gi.png)](https://downloads.intercomcdn.com/i/o/360203086/64164f21237ff823ee1f95b6/image.png?expires=1794511800&signature=c157d656f35f23eaaba797fd02fbf1e6f9f4682eef1acca8d1b6b3666f65c9f5&req=dyYnFMl9nYlZFb4f3HP0gEankeid417zHUdEYoIWu%2FcVcIl6ARl14SwGX66M%0AOmNseAgrm%2FuIfwJ24w%3D%3D%0A)

At this stage you must **Save the interface** to continue.

Once saved, you will see a new template container called **Group** available in the Results > List as shown below

[![](https://storage.crisp.chat/users/helpdesk/website/-/7/e/7/2/7e721fa767263800/d12cbffd-751c-4125-8e0e-db5768_1q6xpjm.png)](https://downloads.intercomcdn.com/i/o/360203666/91ea657ac3820edf18aa8cee/image.png?expires=1794511800&signature=cf2a0790ef0b470866ee6c5f79318fdf0cb7049aef27ebef07ae9d62f81a3f9e&req=dyYnFMl9m4dZFb4f3HP0gKzm99h8Ct84mHW5ym0W4ndUHCEoyEUj2hYsWu2M%0AyfyqmtUmU6CGRiMizQ%3D%3D%0A)

Any fields added to this group will be displayed in the Group heading. If the value added to the group changes more often than the value in the chosen group, the first value in the set of results that match the group will be used.

[![](https://storage.crisp.chat/users/helpdesk/website/-/b/f/0/d/bf0d9baddcc4b000/8ecaf757-b8d3-47ea-8130-71fab4_g5wygy.png)](https://downloads.intercomcdn.com/i/o/360205132/2be6cf2d3103123903db8706/image.png?expires=1794511800&signature=69f0ac737acabf803517f33fd438e9f566a26dc51f70783591b8d0bfb8ebf494&req=dyYnFMl7nIJdFb4f3HP0gLHdPhXqaGAK6ShCfEiaH2E2lrKz6jBf9zbq0f2m%0AJ8w1fcs121DF9wxmfw%3D%3D%0A)