How to sort a datatable based on array items

Hi, How do I sort my data table based on the items only in my array of string?

Hi ,

Please use “For each” activity for that String Array
Change for each Argument to String
Inside for each loop body
Use an assign activity
Inside assign give as below
Datatable = Datatable.AsEnumerabale.orderby(function(r)Ctype(system.regularexpressions.regex.match(r(0).Tostring, Item).copytodatatable

Hi @rohangroombridge,
Can you try to store the array in datatable then use the Sort DataTable Activity.