a) sorts the elements of a sequence in ascending order preserving the relative order of equivalent elements

b) sorts the elements of a sequence in descending order preserving the relative order of equivalent elements

c) arranges the sequence randomly preserving the relative order of equivalent elements

d) same as sort function of STL algorithm

### 1 thought on “What is the property of stable sort function provided by the STL algorithm?”

### Leave a Comment

You must be logged in to post a comment.

a

Explanation: stable sort is used to sort the elements of a sequence also preserving the relative order of the equivalent elements.