Implemented field sort and sort order
Added travis-ci support