cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Ordering a List

tcain
1-Newbie

Ordering a List

Is there any way to order a list of things? I have all of these items that the list could be sorted by, but I cannot find a way to sort it in any manner.

Thanks,

Toby

1 ACCEPTED SOLUTION

Accepted Solutions
ttielebein
12-Amethyst
(To:tcain)

There is a snippet for this called "Sort":

var sort = new Object();

sort.name = yourFieldName;

sort.ascending = booleanValue;

yourInfoTable.Sort(sort);

I hope this helps!

View solution in original post

1 REPLY 1
ttielebein
12-Amethyst
(To:tcain)

There is a snippet for this called "Sort":

var sort = new Object();

sort.name = yourFieldName;

sort.ascending = booleanValue;

yourInfoTable.Sort(sort);

I hope this helps!

Top Tags