sort, verb: “to put a number of things in an order or to separate them into groups”
Comment on Data Science
ChaoticNeutralCzech@feddit.de 1 year ago
I hate when computer scientists use “sorting” for “ordering”. It’s been mistranslated into other languages, too.
LwL@lemmy.world 1 year ago
Wilzax@lemmy.world 1 year ago
Radix sort is truly a sorting algorithm though, it just results in an ordering.
stelelor@lemmy.ca 1 year ago
I am very new to the world of CS but I appreciate precise vocabulary. Is my understanding below correct?
Sorting = Assigning each object to one category (“bin”).
Ordering = Like sorting, but the categories themselves have an inherent hierarchy/order (numerical, alphabetical, etc.)
ChaoticNeutralCzech@feddit.de 1 year ago
Yes but people say “sorting algorithms” when describibg programs that put elements of a list in the correct order.