[SOLVED] Sorted by two or more columns at the same time
Hi,
I have posted a topic http://rapid-i.com/rapidforum/index.php/topic,4951.0.html maybe to wrong Thread. Can I sort two or more columns at the same time?
What I want is same in Manual RapidMiner 5.0+ (English) at http://rapid-i.com/content/view/26/84/ page: 84, Sorting, but I need operator and perform this action on an ExampleSet.
Thanks for ideas,
Regards
Jan
I have posted a topic http://rapid-i.com/rapidforum/index.php/topic,4951.0.html maybe to wrong Thread. Can I sort two or more columns at the same time?
What I want is same in Manual RapidMiner 5.0+ (English) at http://rapid-i.com/content/view/26/84/ page: 84, Sorting, but I need operator and perform this action on an ExampleSet.
Thanks for ideas,
Regards
Jan
0
Answers
I will explain it on an example:
as (almost) always, the search function brings up something useful on page 1
http://rapid-i.com/rapidforum/index.php/topic,3717.0.html
The trick is to use the Sort operator three times but in reverse order: first on VALUE, then on NAME, and then on ID.
Cheers,
Ingo
What Ingo said works, apply sort in the reverse order.
This works because if you first sort by VALUE and then sort by NAME, the jack with a higher value will stay on top.
I.e. it preserves the sorting order for items that have the same NAME when sorting on NAME.
Best regards,
Wessel
this is it. Fabulous thanks both of you.
Regards,
John