webstaff: fixed client-side sorting of names in add-to-bucket dialog