ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array not able to sort

Solved!
Go to solution

Hi

 

What are the possible reasons that one of the column of the 1D array not being able to sort accordingly?

 

 

0 Kudos
Message 1 of 4
(3,749 Views)

It looks like you are sorting strings. These will be sorted by theit ascii values, character by character I guess. That means that 14 comes before 2, since "1" is before "2". You should try and convert to integer and see what happens!

Message 2 of 4
(3,740 Views)

Hi 

 

Do you mean by this ? (refer to attachment) however it still cannot be sort.

0 Kudos
Message 3 of 4
(3,714 Views)
Solution
Accepted by huihan26

Exactly! But now you by mistake show the unsorted array... Smiley Happy

Message 4 of 4
(3,706 Views)