Cardyin
Thanks, the SQL statement already sorts the returned array; the problem is
adding entries to the list in the listbox. In the original code, when
entries are added to the list the database is updated at the same time, so
I did a work around in which new entries are not added directly to the
list but a new array is automatically called from the database whenever
new entries are added.
This works fine but increases sharply the number of database calls, I
wondered if there was another way to do it.
Andrew