I know this is silly but losing the dessert codename is kinda sad.
Sure, K comes before P in the alphabet, but figuring this (and the actual distance) out takes a lot more mental effort than comparing 4.4 with 9.
It also resolves the issue where you need to decide whether 7 is larger than Marshmallow - a question that would make people question your sanity if posed without context.
And to make it more confusing, each release had a separate codename used before the release, so you had Android K, Android Key Lime Pie, Android KitKat, Android 4.4, and API level 19, all meaning the same thing.
Now, if only we could get rid of the separate "API level" designator (or rather, turn it into an opaque enum, instead of using it everywhere)... because 28 should not be less than 10.