Documented the whole plugin using markdown syntax. Generated docs with docco.
Implemented sub-app for sorting and optimized code placement for sorting.