TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: SEAN RIMA
from: GEORGE WHITE
date: 1998-04-06 09:47:00
subject: AKA Sorting

Hi Sean,
You asked:
SR>I am trying to sort a struct but it needs to be sorted by
SR>AKA. It sorts the list to a degree but I end up with
SR>1:xxx/xxx
SR>111:xxx/xxx
SR>2:xxx/xxx
SR>Anyone got a simple solution to this.
Show us the struct and your current sort code. Without the details of
the relevant field(s) in your struct there is no way I can suggest a
suitable compare routine :-(
George
 * SLMR 2.1a * Wastebasket: Something to throw things near.
--- Maximus/2 3.01
---------------
* Origin: DoNoR/2,Woking UK (44-1483-717905) (2:440/4)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.