add table sorting

close https://github.com/repo-utils/badgeboard/issues/13
Merge https://github.com/repo-utils/badgeboard
rebuild