Hi Forum
I got problems with using natcasesort()
its supposed to sort an array out alphanumeric characters yet when I try it doesnt do anything.
I have an multidim array myarray[][]. I want to sort by a row in that array but the natcasesort() doesnt let me tell it what to sort. it just apparnetly sorts.
Can anyone suggest what I should use here.
I have myarray setup to hold something like the following
myarray[1][numeric_ref]
myarray[1][title]
myarray[1][cost]
myarray[2][numeric_ref]
myarray[2][title]
myarray[2][cost]
myarray[3][numeric_ref]
myarray[3][title]
myarray[3][cost]
myarray[4][numeric_ref]
myarray[4][title]
myarray[4][cost]
how do I tell this natcasesort() to sort by the title (array[#][2])
I keep thinking there are ways to do this but then realise Im thinking of another programming language...anyone have this proglem
