# 文書をソートする

検索結果は並び替えることができます。各項目名をクリックすると昇順・降順が切り替わります。

![](https://storage.googleapis.com/brev-prod-pub/manualAssets/c0c3a434db8510c35522afa6.png)

{% hint style="info" %}
1回クリックしても反応しないことがあります。その場合は2、3回クリックしてみてください。
{% endhint %}

## 複数項目でのソート

複数の項目（以下、「キー」とします）でのソートをおこなった場合には、以前のキーの並びが温存されます。

たとえば、1番目に日付でのソートをおこない、2番目に作成者のソートをおこなうと、基本は作成者順にソートされますが、同じ作成者の中では日付の順番にソートされるようになります。 （DBの表現で言うと、作成者が第1キーとなり、日付が第2キーとなります）


---

# Agent Instructions: 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:

```
GET https://docs.bengo-kakumei.jp/guide/document-db/sort.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
