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
(2,871 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
(2,862 Views)

Hi 

 

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

0 Kudos
Message 3 of 4
(2,836 Views)
Solution
Accepted by topic author huihan26

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

Message 4 of 4
(2,828 Views)