add order clause to report