new builtin_ord function