- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
sort list ( ... , decending)
For sort(), there is an option descending.
For sort list() not?
What is the easiest/best way to sort a list with descending order?
2 ACCEPTED SOLUTIONS
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: sort list ( ... , decending)
Reverse(Sort List()) is one option
Names Default To Here(1);
mylist = {111, 212, 133, 114, 55};
a = Sort List(mylist);
b = Reverse(Sort List(mylist));
show(a, b);
//a = {55, 111, 114, 133, 212};
//b = {212, 133, 114, 111, 55};
-Jarmo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: sort list ( ... , decending)
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: sort list ( ... , decending)
Reverse(Sort List()) is one option
Names Default To Here(1);
mylist = {111, 212, 133, 114, 55};
a = Sort List(mylist);
b = Reverse(Sort List(mylist));
show(a, b);
//a = {55, 111, 114, 133, 212};
//b = {212, 133, 114, 111, 55};
-Jarmo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: sort list ( ... , decending)
Also there are Sort Descending() and ascending.
-Jarmo