sort alphabetically for maintainability
add support for basic custom sorting
Merge pull request #10 from ksurent/master

Basic custom document sorting