Not quite, you can't order all natural numbers alphabetically either but that doesn't mean you can't count them.
A better way to count based on names would be to first count all single letter names alphabetically, then all two letter names alphabetically, etc.