fix sorting by size in /repo view