re-indexing the tabs when re-sorting
fixing syntax error
documenting the new reindex_tabs function
Merge pull request #22 from mrkrstphr/fix014

Fix issues arising after re-ordering tabs
Merge branch '0.17' of github.com:stjerm/stjerm into 0.17