How to sort surfaces by z coordinates in ghpython

See this:

Also, welcome to the forum :slight_smile: If this is about GHPython you ought change the category to either Grasshopper Developer or Scripting. And make sure to go through some tips that’ll help you getter answers.