My goal is pretty simple: I want to split my HB rooms in two lists, one containing the smallest room (by floor area) and the other list containing the rest. I already managed to do it with a GhPython script plus some native list components, as you can see bellow. However, I was wondering how to execute the whole task only by scripting. I tried to sort the x.floor_area but I get a Runtime error saying that ‘float’ object has no attribut sort, although I though the results were arranged in a list.
Model sorting.gh (27.9 KB)