image

πŸŽ‰ πŸŽ‰ RAPIDMINER 9.10 IS OUT!!! πŸŽ‰πŸŽ‰

Download the latest version helping analytics teams accelerate time-to-value for streaming and IIOT use cases.

CLICK HERE TO DOWNLOAD

[SOLVED] Does the Sort operator perform a stable sort?

tennenrishintennenrishin Member Posts: 177  Maven
edited November 2018 in Help
Does the Sort operator perform a stable sort?

Answers

  • Nils_WoehlerNils_Woehler Member Posts: 463  Maven
    Hi,

    the sort operator uses the Collections.sort() method from Java. From the Java API it says:

    This sort is guaranteed to be stable: equal elements will not be reordered as a result of the sort.
    So yes, the sorting is stable.

    Best,
    Nils
  • tennenrishintennenrishin Member Posts: 177  Maven
    Thank you Nils!
Sign In or Register to comment.