Sort datatable data based on one column

Hi @clumsily,

You can use Sort Data Table Activity for this.

It is located under the Programming>DataTable categories from Activity Panel.

Step1: To perform the sorting process under your data table (not sorted) place Sort DataTable and indicate the Input DataTable you want to sort.
Eg: dt1
image

Step2: Next, create a Data Table variable that stores the Sorted DT.
Eg: dt2
image

Step3: Under the Sorting Column there are several ways to locate which column you want the sort to perform.

Try using the third one which is “Name” and Input “Name” (the column from your table).

image

For the Output I used Write Range and send the sorted table as the input.
image

RESULT:
image

Happy Automation,
Ken