LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to sort big string-array by first character

Hello,

i have a big string array with >500.000 lines.

 

A|text|20140911-165531|1|S1|5,300|0,000|1

C|text|20140911-165531|1|S21|5,300|0,000|1

T|text|20140911-165531|1|S3|5,300|0,000|1

[empty]

 

There are four kind of lines. The begin with A, C, T or the line is empty.

 

In labview is the function "Sort 1D Array", but i cannot use as it sorts the complete line.

But i need the lines to stay in the same order after sorting.

 

How can this be done?

 

Thx

 

(This is a following question to http://forums.ni.com/t5/LabVIEW/Sorting-lines-in-array-depending-of-first-character-speed/td-p/29936... which i set solved to fast)

0 Kudos
Message 1 of 2
(2,718 Views)

Please continue in the original thread.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 2
(2,704 Views)