Yes. It does not matter which letter comes first. both of them (individually) have the same endpoint
I hope this helps, and have a nice day.