It is coded similar to flash, except that one has a cast time and the other one doesn't. The cast time is where it screws up in terms of animation movement order, and cast time being 100% uninterrupted by any CC also contributes to the problem.
If anything, Arcane Shift can be used right at the moment of being pulled to get out of Darius Apprehend. Same with Blitzcrank's grab and Singed Fling. It's actually consistent if you can time the cast time of Arcane Shift with no deviation, e.g. human error or lag, in all cases.
At the moment it is working as intended, since animation order is applicable to every animation in the game. Udyr stunning Malz out of his ult is one example of that. Riot can't go back to the source code, changing JUST Ezreal's Arcane Shift without having to deal with how every animation interacts with each other in this game.