Added missing default sorting to the repositories.

Resolves issue #16