Query sorted repositories list.

When using conf.sql, repositories appear unsorted in ACL tab, so it can be quite painful to find a repository if you have a lot of them.

This can be fixed by adding an ORDER clause to SELECT statement.