Best Practice of Numbering Parametric Facade Panels

I am working a parametric facade panels exercise by using Revit In-place mass and Curtain panel pattern based family. The goal is numbering each panel with a unique code and export the codes in excel. What is the Dynamo node is able to do the job and what is the best practice in general?

by dynamo you can group them horizontally and sort them vertically or vice versa. after that make a sequence based on x,y location or whatever you desire, and store it in a specific parameter to be save it the asset model, and then you can export it to Excel