changed the sorting ortder of complaints