I found three bugs and fixed it.

Dear my friend.

I found three bugs.
so I fixed it.

1. the results should be sorted first before trimed. all entities retrieved by some condition (A> 0) can be sorted by other property.(order by B) but if some part is not taken into account when sorting, we can't get the result expected. (see EntityManagerImpl.java, RelationManagerImpl.java)
2. The "reversed" property has been used with ambiguity. (see QueryProcessor.java)
3. When I"install" using maven , "rest" component has some error since it's looking for an incorrect jar file. (see pom.xml)

Thanks.