Datatable sort issue

It gave output like this where I sorted my datatable. Doesn’t process the second digit. Please help me.

Hi @hcmgl_ei Welcome in Community.
please check this one.
Re-Order.xaml (5.1 KB)

Hi @hcmgl_ei

How about this expression?

(From d in BuildDt.AsEnumerable Where Not (isNothing(d(1)) OrElse String.IsNullorEmpty(d(1).toString.Trim)) Select v = CDbl(d(1).toString.Trim)).OrderBy(Function (x) x)

d(1) → Column name index

Output

image

Regards
gokul

Thanks everyone. I selected the data table column “string”. It should be “int32”.

Have you tried with above LINQ expression. It will worked as you need.

Let me know if you have any issue @hcmgl_ei

Hey @hcmgl_ei,

Have a look on this video.

Thanks,
Sanjit