As noted in #8, the correct way to abbreviate a German ordinal number is to use a period: 1., 2., 3. usw. Adding "te" is at best informal. And depending on case, may be wrong (e.g Dative: "mit dem ersten"). I would suggest changing the implementation to add a period after the number, and no letters.