> For the complete documentation index, see [llms.txt](https://docs.ninox.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ninox.com/user-hub/de/common-tasks/work-with-data/sort-and-group-records-in-a-table.md).

# Datensätze in einer Tabelle sortieren und gruppieren

Sortiere und gruppiere sichtbare Datensätze in einer Tabellenansicht.

Sortiere Datensätze und gruppiere sie nach Feldwerten, um Kategorien zu vergleichen und Informationen schneller zu finden.

### Datensätze sortieren

{% stepper %}
{% step %}

#### Sortierung öffnen

Öffne die Tabellenansicht, die du organisieren möchtest.

Klicke in der Top-Bar auf **Sortieren**.

<figure><img src="https://1058005587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUSDEyetVOHXRiYnFQFK3%2Fuploads%2F5BGF2HyBzJfNja8QLRmT%2FTabelle_Sortieren_Editor_de.png?alt=media&amp;token=9319d4bb-18f6-42d1-a779-70e8f5720ce5" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Feld und Richtung auswählen

Wähle das Feld aus, nach dem du sortieren möchtest.

Klicke auf <i class="fa-arrow-up">:arrow-up:</i> für aufsteigende oder auf <i class="fa-arrow-down">:arrow-down:</i> für absteigende Sortierung.
{% endstep %}
{% endstepper %}

Die Top-Bar zeigt den Namen des Sortierfelds. In der Überschrift der sortierten Spalte erscheint <i class="fa-arrow-up">:arrow-up:</i> oder <i class="fa-arrow-down">:arrow-down:</i>. Klicke auf die Spaltenüberschrift, um die Sortierrichtung zu ändern.

Wenn du deine Tabelle nach einem **Farbe**-Feld sortierst, erfolgt die Sortierung alphabetisch nach Farbnamen. Bei **Symbol**-Feldern erfolgt die Sortierung ebenfalls alphabetisch nach Symbolnamen.

### Datensätze gruppieren

{% stepper %}
{% step %}

#### Gruppierung öffnen

Öffne die Tabellenansicht, die du organisieren möchtest.

Klicke in der Top-Bar auf **Gruppieren**.

<figure><img src="https://1058005587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUSDEyetVOHXRiYnFQFK3%2Fuploads%2FnwkWYUxHShhRnO1sMwlJ%2FTabelle_Gruppieren_Editor_de.png?alt=media&amp;token=8c7142d0-c7bb-4fd0-a7be-3d90a5eb86ea" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Feld und Richtung auswählen

Wähle das Feld aus, das die Gruppen festlegt.

Ninox gruppiert sichtbare Datensätze nach diesem Feld. Du kannst ein Feld gruppieren, auch wenn dessen Spalte ausgeblendet ist.

Klicke auf <i class="fa-arrow-up">:arrow-up:</i> für aufsteigende oder auf <i class="fa-arrow-down">:arrow-down:</i> für absteigende Reihenfolge.

Die Top-Bar zeigt den Namen des Feldes, nach dem du gruppiert hast.
{% endstep %}

{% step %}

#### Gruppierung aufheben

Klicke auf **Gruppierung aufheben**, um die Gruppierung zu entfernen.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
Bei **Formatiertem Text** werden Datensätze nur gruppiert, wenn Inhalt und Formatierung identisch sind.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ninox.com/user-hub/de/common-tasks/work-with-data/sort-and-group-records-in-a-table.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
