fix sort_tags
fix bootstrapify
Merge pull request #316 from ingwinlu/fix_sort_tags

fix sort_tags and bootstrapify