Fix sort on "Lend" page

Fixes #75