Lexicographic rank (source code)

= Lexicographic rank

The lexicographic rank of an object is its position among the admissible objects in <lexicographic order>. The rank convention must specify whether the first object has rank zero or one.