add getMaxOrd, and properly document the difference between it and numOrds