Functions for Entities
- reorder (repository, data, limit, offset) reorder a array by findall or by data gived
- getAllOfFields($repository, $field, $removeDoublon) rerurn fields of Repository in string with/without doublons
- sortArrayObjetByArray($objets, $function, $array) reorder array of objetcs by array
Certain code is collect in internet of many times and many web site.