Discussion:
sorting data
(too old to reply)
treasure
2008-08-14 06:40:18 UTC
Permalink
I want to sort the data from the table with accending order like name                                         marksJohn                                            50mary                                            80Cathrine                                      60Thomas                                       67Suzy                                            75                                                   to  name                                         marks                                                Cathrine                                      60John                                            50mary                                            80Suzy                                            75Thomas                                       67                                &nbsp
MikeS81
2008-08-14 07:10:08 UTC
Permalink
Hi treasure,are this arrays of different type. Build an array of cluster of your data and use the sort function from the array palette. See also <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=239665&amp;query.id=13287#M239665" target="_blank">this</a>&nbsp;thread, it shows what i mean. &nbsp;Mike
JoeLabView
2008-08-14 12:40:19 UTC
Permalink
See attached example.&nbsp; I understood that you are using a Table.&nbsp; Using an array&nbsp;(2D array) should also work the same way.&nbsp;R &nbsp;


SortTable.vi:
http://forums.ni.com/ni/attachments/ni/170/349256/1/SortTable.vi
treasure
2008-08-14 12:40:21 UTC
Permalink
That's what I want to do. Very nice and thank you for the quick reply.Thank you Joe and Mike.
Loading...