How long does bubble sort take?