add sort widget & sort documents module
beginning of sort mechanism in the db
database sorting & query work together