CTAN Comprehensive TeX Archive Network

bubblesort – Bubble sorts a list

This package sorts a list of items {item 1}...{item k} in "increasing" order where "increasing" is determined by a comparator macro. By default it sorts real numbers with the usual meaning of "increasing" but some other examples are discussed in the documentation. A second macro is included which sorts one list and applies the same permutation to a second list.

Sources/macros/latex/contrib/bubblesort
Documentation
Version1.0
LicensesThe Project Public License 1.3c
Copyright2020 Laurence R Taylor
MaintainerLaurence R Taylor
Contained inTeX Live as bubblesort
MiKTeX as bubblesort
TopicsList
Sorting Macros

Download the contents of this package in one zip archive (224.1k).

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Guest Book Sitemap Contact Contact Author