--- title: GroupBy description: Returns the given page collection grouped by the given field in ascending order. categories: [] keywords: [] params: functions_and_methods: returnType: page.PagesGroup signatures: ['PAGES.GroupBy FIELD [SORT]'] --- {{% include "/_common/methods/pages/group-sort-order.md" %}} ```go-html-template {{ range .Pages.GroupBy "Section" }}
{{ .Key }}
{{ .Key }}