Comment on I'll just sort it myself

<- View Parent
reverendsteveii@lemm.ee ⁨1⁩ ⁨year⁩ ago

I mean, there’s a sort() method that takes a comparator(a,b) such that if a comes first it returns 1, if b comes first it returns -1 and if they’re equivalent wrt sortinf it returns 0.

source
Sort:hotnewtop