GithubRepository. Refactoring of tags reordering algorithm.