Comment Comment by duskwuff Even if it is a real performance issue, the reasonable fix would be to move the sort call out of the loop - implementing a new data structure in JS is absolutely not the way to fix this. parent duskwuff 1 year ago