Separate contour into list chunks

missing

Have done a lot of sorting and grouping by Z values, here’s a recent example:

Another example: