Sort surfaces based on area- doubt

Hello guys, new here, i need help on sorting surfaces based on area

here’s the GH script

sort area doubt gh forum.gh (161.6 KB)

internalized geo in that GH script

thank you for your help

Hi,

I fail to see your issue - it is pretty much the right method to sort surfaces by area

There are 2 surface groups in the geometry list, smaller ones and larger ones

I need to sort these 2 groups based on small area surfaces and larger ones.

Apologies for not being descriptive

I would say that if you only have two elements to simply do a binary dispatch

sort area doubt gh forum - solution.gh (165.6 KB)

thank you! @M_Thorez