Community & Support
Learn
Marketplace
Discussions
Categories
Discussions
General
Platform
Academic
Partner
Regional
Explore Siemens Communities
User Groups
Documentation
Events
Altair Exchange
Share or Download Projects
Resources
News & Instructions
Programs
YouTube
Employee Resources
This tab can be seen by employees only. Please do not share these resources externally.
Groups
Join a User Group
Support
Home
Discussions
Community Q&A
[SOLVED] Does the Sort operator perform a stable sort?
tennenrishin
Does the Sort operator perform a stable sort?
Find more posts tagged with
AI Studio
Accepted answers
All comments
Nils_Woehler
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
tennenrishin
Thank you Nils!
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups