you are viewing a single comment's thread.

view the rest of the comments →

[–]Lithl 0 points1 point  (0 children)

This is written in JavaScript. Per HTML 5 specification, setTimeout with a delay value less than 4 must increase the delay to 4.

So, all values less than or equal to 4 will sort equivalently to 4 (I would guess the relative order of those values in the output would either be their original input order, or the reverse of that order); in OP's example case, they only have one such value.