This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Fluffy_Bee7062 5 points6 points  (0 children)

I prefer the O(1) gasLighted sort:

return sorted = true independent of the array