bubblesort

bubble sorts a list

Version:
1.0
Copyright:
Laurence R Taylor
License:
lppl1.3c
Packaged on:
07/03/2020 20:11:52
Number of files:
5
Size on disk:
233.13 kB

This package sorts a list of TeX 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.