updating directive processor sort