sort the objects list

This commit is contained in:
Leonardo Merza 2025-06-18 21:21:08 -04:00
parent 42cae5d9ee
commit 3abab0e700

View File

@ -13,9 +13,14 @@ Please note:
- `person` is the only tracked object by default. See the [full configuration reference](reference.md) for an example of expanding the list of tracked objects.
<ul>
{labels.split("\n").map((label) => (
<li>{label.replace(/^\d+\s+/, "")}</li>
))}
{labels
.split("\n")
.sort((a, b) =>
a.replace(/^\d+\s+/, "").localeCompare(b.replace(/^\d+\s+/, ""))
)
.map((label) => (
<li>{label.replace(/^\d+\s+/, "")}</li>
))}
</ul>
## Custom Models