added report sorting