added cost rebate formula change and stage sorting on dashboard