Address before operator
Both consoles delete the same lines from the same buffer. Ed types the address first, then the command. Vim’s cursor already sits on the address—because the screen is already showing it—so what gets typed is the command first, then only how far from there. Same two roles, inverted order, identical result.
Source buffer
addresscommand / operatorcursor, already on screen
Choose what to delete
ed
vim — normal mode
cursor already here — nothing typed yet
identical result — different order