fixed sort by revenue