Sort libraries on the /choose page

Fixes #5