It isn't one loop. It filters (and sorts) twice. EDIT: nevermind, I see that you're asking how one might do it in one loop.
My congrats, you know Javascript well enough
Amazing solution, Man. Keep on staying original!
Man, you deserve respect, well done!
such a cleaver and original solution
You did it like a Boss!
Man, it is a little overwhelmed
Fascinating
Mine looks the same, but your basic sorting is more advanced.
Unbelievable
I agree. Its an unnecessary closure.
Finally there is smth outstanding
I did it almost the same. Yours is nicer.
One iteration. My respect!
My respect! You did it in one iteration!
Loading collection data...
It isn't one loop. It filters (and sorts) twice. EDIT: nevermind, I see that you're asking how one might do it in one loop.
My congrats, you know Javascript well enough
Amazing solution, Man. Keep on staying original!
Man, you deserve respect, well done!
such a cleaver and original solution
You did it like a Boss!
Man, it is a little overwhelmed
Fascinating
Mine looks the same, but your basic sorting is more advanced.
Unbelievable
I agree. Its an unnecessary closure.
Finally there is smth outstanding
I did it almost the same. Yours is nicer.
One iteration. My respect!
My respect! You did it in one iteration!
Loading more items...