Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!n8emr!cmhgate!f823.n102.z1.FIDONET.ORG!Douglas.Welch From: Douglas.Welch@f823.n102.z1.FIDONET.ORG (Douglas Welch) Newsgroups: comp.sys.mac.hypercard Subject: Re: Sorting Containers (HyperTalk Script) Message-ID: <15027.24ACEB9A@cmhgate.FIDONET.ORG> Date: 29 Jun 89 03:00:04 GMT Sender: ufgate@cmhgate.FIDONET.ORG (newsout1.25) Organization: FidoNet node 1:102/823 - The Bear's Lair, Van Nuys CA Lines: 28 Thank you Dan, This is exactly what I was looking for. I haven't written a sort procedure in a long time and was not exactly looking forward to creating one from scratch. BTW... if you want to sort on an item internal to the line you just need to alter the line that reads... if line j of it < X then to something like... if char 16 to 30 of line of it < char 16 to 30 of x then .... Leave every thing else alone and it will sort on the 16-30 character of each line but leave the line intact. Thanks Again... Douglas E. Welch Van Nuys, CA -- Douglas Welch via cmhGate - Net 226 fido<=>uucp gateway Col, OH UUCP: ...!osu-cis!n8emr!cmhgate!102!823!Douglas.Welch INET: Douglas.Welch@f823.n102.z1.FIDONET.ORG