Sort lists of effectors and policies returned by rest-server