Improve JSDoc for stableSort