vijfduizendachthonderdveertig
Ordinal (5840th): vijfduizendachthonderdveertigste
The converter also handles times and prices, with a listening drill to make them stick.