Naming the classified surfaces sequentially

i want to name each of the classified surfaces so that users can easily recognize them
i want to name the classified surfaces sequentially with having the rules…


for example i classified the horizontal down surfaces…
but i want to classified the surfaces by rules…

how to name classified the surfaces by rules??

first i point a parameter at surfaces’ center and sort them
i don’t know how to name them

and i don’t know how to index them when they have the same X point…