Grade up: Difference between revisions

190 bytes added ,  2 years ago
add stable sort desc
No edit summary
(add stable sort desc)
Line 3:
 
Since grading is not the same as sorting, a general idiom used to sort arrays is <code>{x(<x)}</code> or other equivalent.
 
Grade primitives generally use a [https://en.wikipedia.org/wiki/Category:Stable_sorts stable sort], which means that an ascending grade may not always be the inverse of a descending grade.
 
For numeric arrays: