Sort (auto-completion)

Description

This parameter sets the auto-completion suggestions sort order. It can take 3 values:

  • 0 — Suggestions will be sorted by score, with the most relevant ones in first.

  • 1 — Suggestions will be sorted by length, with the shorter ones in first.

  • 2 — Suggestions will be sorted alphabetically in ascending order.

Default value

sort: 0

Examples

sort: 2

© 2015- Squiz Pty Ltd