change value code to include all values in decending order