An index entry is not added when either
However, an entry will be created if some, but not all
If an Index returns
values that include
null, then sorting will follow the precedence explained in the documentation.
Also, the documentation for Index sorting includes a working example that sorts by