home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 15
/
CD_ASCQ_15_070894.iso
/
news
/
4569
/
goodies8
/
programr
/
sortln.doc
< prev
next >
Wrap
Text File
|
1993-02-18
|
567b
|
19 lines
'SORTLN' by Joe Horn; *quickly* sorts a list of numbers into order.
100% supported System RPL; will work on present & future HP 48's.
Be sure only to use a list of REAL NUMBERS as the input to this
routine; any other objects in the list will cause undesirable results.
Sample execution times of lists of random numbers:
LIST SIZE SECONDS TO SORT
--------- ---------------
16 0.4
32 0.9
64 2.4
128 6.3
256 16.5
512 42.7
Thanx to Brian Maguire & Mike Morgan for concepts used here.