5 ms·Put otherwise: to sort them all it's O(n/5*(5 log 5)) = O(n).by ihateloggingin 13y agoPut otherwise: to sort them all it's O(n/5*(5 log 5)) = O(n).