Added support for sorting to all entities
Refactoring in the usage of PHP namespaces