Documentation for byFacet

also minor fix for listByAlphabet for sorting