home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 15 / CD_ASCQ_15_070894.iso / news / 4569 / goodies8 / programr / sortln.doc < prev    next >
Text File  |  1993-02-18  |  567b  |  19 lines

  1. 'SORTLN' by Joe Horn; *quickly* sorts a list of numbers into order.
  2.  
  3. 100% supported System RPL; will work on present & future HP 48's.
  4.  
  5. Be sure only to use a list of REAL NUMBERS as the input to this
  6. routine; any other objects in the list will cause undesirable results.
  7.  
  8. Sample execution times of lists of random numbers:
  9.  
  10. LIST SIZE   SECONDS TO SORT
  11. ---------   ---------------
  12.      16       0.4
  13.      32       0.9
  14.      64       2.4
  15.     128       6.3
  16.     256      16.5
  17.     512      42.7
  18.  
  19. Thanx to Brian Maguire & Mike Morgan for concepts used here.