Skip to content

[Bug] SortByFunction not applying Function.Compose #8797

@Amoursol

Description

@Amoursol

If this issue is with Dynamo for Revit, please post your issue on the Dynamo for Revit Issues page.

If this issue is not a bug report or improvement request, please check the Dynamo forum, and start a thread there to discuss your issue.

Dynamo version

Dynamo Core 2.0.0.4654
Dynamo Revit 2.0.0.4655

Operating system

Windows 10

What did you do?

Also tested in Dynamo Studio 1.3.0 - Same results.

Attempting to sort a list of points using the List.SortByFunction node, by composing a double-tier function that iterates through all points based on their X and Y values.

What did you expect to see?

The list of points being sorted via the composed function. Unless I'm mistaken this was working last time I tried (Admittedly a long time ago!). I typically use Python for this these days but due to playing with Fractal need to use either Nodes or DS.

What did you see instead?

The node is simply passing through the input list to the output port. I've ran this on periodic mode and the == node always pushes back as true for all inputs.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions