Fix #216 - Made new function getOrdinal static as it's more logical.