select
The index-th smallest ordinal present, counting from zero.
Throws
if index is not below cardinality. Deliberately not clamped: "the last ordinal" and "there is no such ordinal" are different answers, and a caller that conflated them would silently process a document that is not in the result.