Im not sure about the \L and \u charachters, clearly they have some defined order of operations, which appears to be from left to right. I.e. for your first example, first the \L triggers, making everything lower case, then the \u triggers, making the first uppcase. This can be easily seen with the functions below, as you can clearly see the order of operations.