Sort keys help to control the sort order of a set of documents. This order seems to come magical for users, since the sort key is usually not displayed. The order establishes a path to a set of documents displayed as a list as the result of a query.

Level of Experience

Description

Typically add a numeric value that is left padded by zeros, such as 00010 for the first document. If you are unsure about the number of documents, you may start with 0000100 or something that fits your expectations.

Please note that you may always introduce a new property for a document to use their values for sorting. The Sort Key Property is just a value that is taken into account per default. That is, if you do not specify a property for the sort order.

Sort keys are generated automatically for subdocument doctypes. So documents of these types will be ordered by their sequence of creation.

The query matched no documents.

Resources

The query matched no documents.