Quote:
Originally Posted by pdurrant
Bubble sort is only useful on data that is mostly sorted, with only a few items out of place.
Quicksort is the one to use for unsorted data.
An informative win. 
|
I'm not familiar with quicksort, but after the initial sorting bubblesort should work just as well since you only have move one item around with each post.
However, wouldn't just adding more and more "z" starting posts (which would like be the result of sorting the thread alphabetically) defeat the purpose of resorting the thread alphabetically? I just wonder how many posts a thread can contain since I'm sure there is a limit (2 to the 20th power would allow for over 1,000,000 posts).