Original date:2017-06-12 19:28:07 Edited by: Spock Subject: Re: sort constants confusing

DerekParnell said...

Agreed. Why they exist is a mystery. In any case I would have expected normal/abnormal or forward/reverse pairs instead.

Stranger still is the sheepish note in the documentation for sort(), custom_sort() and sort_columns():

"This function uses the "Shell" sort algorithm. This sort is not "stable", i.e. elements that are considered equal might change position relative to each other"

Really? Does \std still have unstable sort routines after all these years or was it fixed and someone just needs to update the documentation? I thought we had thrashed this out in 2014? In fact, it was indicated as far back as 2011 but nobody did anything about it.


Not Categorized, Please Help


Quick Links

User menu

Not signed in.

Misc Menu