variadic function for turning cardinal numbers into ordinal numbers