summaryrefslogtreecommitdiffstats
path: root/docs/content/en/quick-reference/glossary/weight.md
blob: deb9e6dc0392ed2721cc68d8a9385e57e2e2d262 (plain) (blame)
1
2
3
4
5
---
title: weight
---

A _weight_ is a numeric value used to position an element within a sorted [collection](g). Assign weights using non-zero integers. Lighter items float to the top, while heavier items sink to the bottom. Unweighted or zero-weighted elements are placed at the end of the collection. Weights are typically assigned to pages, menu entries, languages, and output formats.