Currently only sorting by first name is possible.
The easiest fix might be to change the display, because if we only change sorting, that will also result in a bit of confusing display. The borrower search uses 'surname, firstname' - so there is precedence. The ILL table currnetly displays as firstname surname.
The suggestions table also uses 'surname, firstname"