Efficient sort function allowing own test and swap function as parameter

Alaindevos devosalain at ymail.com
Tue Oct 6 22:18:39 UTC 2020


I have a large table consisting of two columns.One with 
words.Another with frequencies. I want to sort them efficiently 
according to the names or frequency.
For this I need an efficient sort function where I can plugin my 
proper test of order, and proper swap. Currently I do it using an 
own written bubble sort that doesn't scale well.



More information about the Digitalmars-d-learn mailing list