p-adic ordinals