New Staticman Comment
Dear human,
Here's a new entry for your approval.
Merge the pull request to accept it, or close it to send it away.
Field | Content |
---|---|
comment | Thanks Daes for your comment. |
You are right in that with the current approach "equal" list elements will get reordered. However, this was perfectly fine for the use case I had
If someone needs this feature, instead of implementing a lessThan()
function, a compare()
one could be implemented, which returns -1, 0 or 1 as desired. This function would just be used like visible.sort(compare)
. |
| name | Martin Hoeher |
| email | fbf361d6e3bd48a6afcb21f9a636255f |
| date | 2020-06-14T13:58:55.907Z |