Sorting an array
Kenneth Brody
kenbrody at spamcop.net
Wed Jun 1 12:28:37 PDT 2016
On 6/1/2016 3:13 PM, Richard D. Williams via Filepro-list wrote:
> On 6/1/2016 1:44 PM, Fairlight via Filepro-list wrote:
[...]
> When someone is looking for a solution, why not offer one that is simple and
> flexible.
>
> I looked at the Bubble Sort Wikipedia page and my point is valid.
> You have too much to say that is not relevant to the question or problem
> posed on the list.
>
> But, now we all know you use/like/know Bubble Sort. Whoa.
[...]
The bubble sort has its uses, beyond "intro to sorting". It's quick and
easy to implement, and works decently with small lists, such as the 20-item
list I believe the OP mentioned. (Though I don't believe the OP ever
answered questions regarding how often the sort needs to be executed.
Running it once at the start of a report is one thing. Running it on every
record of a million-record report is something else entirely.)
--
Kenneth Brody
More information about the Filepro-list
mailing list