From the Logic Menu
When selected, the logic objects are numbered, showing the order they are run in.