Possibly the fact that sort internally uses a stable merge sort is an implementation detail, not a semantic guarantee. Specifying stable explicitly means that if the luck of implementation changes the semantics will still remain in tact.
Dave
In reply to Re^4: move all 0s in an array to the beginning keeping other elements order same
by davido
in thread move all 0s in an array to the beginning keeping other elements order same
by anilmwr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |