Dynamo icon indicating copy to clipboard operation
Dynamo copied to clipboard

List.SortIndexByValue only accepts double types

Open tinrobot2000 opened this issue 10 months ago • 3 comments

https://github.com/DynamoDS/Dynamo/blob/14886b9f57e64eaf94182b7244424a88caf9e065/src/Libraries/CoreNodes/List.cs#L247

Dynamo Version

DYNAMO v.3.4.2

Host

Dynamo Sandbox

Operating System

Windows 11

What did you do?

Tried to use List.SortIndexByValue and received a warning

What did you expect to see?

A nice list of integers minding their own business

What did you see instead?

Image

What packages or external references (if any) were used?

None

Stack Trace

n/a

Details

Should be able to use the Comparer on an IEnumerable<object>

tinrobot2000 avatar Apr 10 '25 08:04 tinrobot2000

Thank you for submitting the issue to us. We are sorry to see you get stuck with your workflow. While waiting for our team member to respond, please feel free to browse our forum at https://forum.dynamobim.com/ for more Dynamo related information.

github-actions[bot] avatar Apr 10 '25 08:04 github-actions[bot]

Tracked internally DYN-8693

avidit avatar Apr 10 '25 11:04 avidit

@tinrobot2000 Can you confirm if the expected output was like option 1 or 2 below?

Image

achintyabhat avatar Apr 17 '25 14:04 achintyabhat