Hi,
I have a select statement which pulls the content from my database. one of the fields has several entities per field (names of people) separated by a comma, to which I use an explode routine and form a select drop down box for users to choose the name of the person they want.....
There is a natcasesort() function in PHP, but it seems that you would want to sort by last name. then by initials (honorifics and titles are rarely sorted, but are more often ordered by rank - I can't see a good way to automate that).
Can we rely on some variant of the example here as a suitable test case?
Mr H Hues, Mr D Winter, Mr J Tominson, Mr E Langeldt, Mr K Ran, Mr S Ahmed, Mr P Wong, Mr I Ching, Mr F Hirani
Hi Ray, to be honest sorting by the initial would suffice, just to try and get it in some sort of order. It doesn't seem to matter what I try though, it fails to sort.
Open in new window