- fixed division by 0 in paginator
- fixed sort order in Criteria