From the course: Dynamo 2.x Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Sorting data

Sorting data

From the course: Dynamo 2.x Essential Training

Start my 1-month free trial

Sorting data

- Now let's take a look at the process of sorting data, which will rearrange the order of information in a list. When you start using Dynamo as part of your project workflow, there'll be times that you'll be interested in sorting text data in alphabetical order and numerical data from least to greatest, or greatest to least. Now there are a couple different nodes in the library that can be used to sort data, the one we'll cover in this video is called Sort By Function, which tends to lend you the most control over your sort operation. We can find that node in the List Organize section in the node library. Again, let's use the Rest Of Items output as a way of testing out our sorting feature. You'll notice that the Sort By Function node takes two inputs. One of them is the list of data that we're interested in sorting, which will come from our Rest Of Items node. Let's go ahead and plug that in now. Next, we'll need to construct a function that Dynamo is going to use in order to sort…

Contents