[repo] added 'more' for dirents view
fixed bugs
[repo] improved the performance of 'sort'
fixed bug for empty repo