Fixing ref to function to get sortstring.
Allowing some of these fields to not be present.
Update load() function to create a CheckOutEvent instead of the removed LendEvent.