The grammar
cardord.grm
is an extension of an earlier example grammar,
cardinal.grm
to recognize phrases for ordinal numbers ("first", "thirty second", "hundredth") as well as cardinal numbers ("one", "thirty two", "[one] hundred").