sorting outside of drools, perseptron rules