HP41 ASCII File Sort Routine?


I would like to sort an ASCII file in extended memory, some 100-150 records. I was wondering if anyone ever wrote/came across a routine to do this.

My records are all 24 bytes long and I need to sort the entire length.

I can transfer them to a PC and sort them there and bring them back, but I was looking for a completely 41 based solution.

If anyone could point one out for me I'd appreciate it. I suppose I could write one, but it seemed like something someone would have done before. Thanks.


Not much help - I know but I believe there was a sort routine in the PPC ROM.


There is also a sort routine in the Extended Functions made easy book by Keith Jarrett if I am not mistaken.


Dearing's 'Calculator Tips and Routines contains five sort routines: Quick Sort, Stack Sort, Synthetic Quick Sort, Smallest/Largest of 3 Numbers, and Synthetic Alphabetize. The latter is, as noted in another response, from PPC ROM- Wickes, Jarrett et. al. I can send the routines if you wish. Good kuck.

Possibly Related Threads...
Thread Author Replies Views Last Post
  Cannot delete file Les Koller 4 981 11-07-2013, 12:17 AM
Last Post: Les Koller
  File Format: hpprgm Thomas Chrapkiewicz 6 1,343 10-30-2013, 09:32 PM
Last Post: Thomas Chrapkiewicz
  Sending ASCII Characters from or to the PRIME Harold A Climer 2 692 10-18-2013, 04:28 PM
Last Post: CompSystems
  HP-Prime File extension Paul D. Fox 6 1,076 10-07-2013, 01:45 AM
Last Post: cyrille de Brébisson
  Rearanging the "Fixed" sort order of Prime's Apps icons Joe Horn 3 833 10-02-2013, 10:24 AM
Last Post: Han
  WP-34S Matrix operations with routine-local registers? Tom Grydeland 1 602 09-04-2013, 10:46 AM
Last Post: Marcus von Cube, Germany
  go71b 'lexs' or 'raws' file format? Christoph Giesselink 2 762 08-21-2013, 02:53 AM
Last Post: Christoph Giesselink
  How to use XnView to create .gro4 file as in OpenFire? arturfeghali 2 683 06-27-2013, 05:57 PM
Last Post: jerome ibanes
  41CL :TROUBLE IN FILE TRANsFER aurelio 22 3,022 06-18-2013, 03:44 PM
Last Post: aurelio
  How to save WP34s programs to a file? Harald 9 1,567 04-26-2013, 01:44 PM
Last Post: Walter B

Forum Jump: