lib/poet/helpers.js
function getCategories (poet) {
  return poet.cache.categories ||
    (poet.cache.categories = utils.getCategories(getPosts(poet)));
}
function getCategories (poet) {
  return poet.cache.categories ||
    (poet.cache.categories = utils.getCategories(getPosts(poet)));
}
function getCategories ( poet ) { return poet . cache . categories || ( poet . cache . categories = utils . getCategories ( getPosts ( poet ) ) ) ; }
Takes a `poet` instance and returns the categories in sorted, array form

@params {Object} poet
@returns {Array}
Takes a poet instance and returns the categories in sorted array form