I tried all your approaches but it seems I cannot make them work.
One approach puzzles me conceptually. It addresses two input columns, while only character column is available for input.
Could you demonstrate one approach on the JMP dataset "Dolphins" please (excerpt below)?
Travel Morning 6
Feed Morning 28
... Travel Evening 13
Feed Evening 56
Social Evening 10
For the "Dolphins" levels Morning, Noon, Afternoon, Evening I'd expect the increments 1,2,3 resp. 4 (subject to sorting order)