Posted: Fri Nov 08, 2002 7:35 pm
Restored from previous forum. Originally posted by Kale.
has any code been thrown around here regarding sorting linked lists? i have a list of a user defined structure i want to sort alphanumerically by one particular element in the structure, i.e.
i wish to sort (or create another list sorted) by name, date or cost.
Sorry if i sound a bit lazy, but i just wondered if any code regarding this has been posted before, just before i start getting my hands dirty. 're-inventing the wheel and all that'
--Kale
New to PureBasic and falling in Love!
has any code been thrown around here regarding sorting linked lists? i have a list of a user defined structure i want to sort alphanumerically by one particular element in the structure, i.e.
Code: Select all
Structure debitStructure
name.s
date.s
cost.s
EndStructure
NewList debitList.debitStructure()
Sorry if i sound a bit lazy, but i just wondered if any code regarding this has been posted before, just before i start getting my hands dirty. 're-inventing the wheel and all that'
--Kale
New to PureBasic and falling in Love!