Comparing multiple variables containing numbers

a=1 456
b=4928
c=23
d=456

I want to compare four variables to get the name of the variable having the highest number

Any attempts / ideas / thoughts from your side?

Try below: May be better solution will be there

$ val=`awk -F = '{print $2}' file | sort -nr | head -1`
$ echo $val
4928
$ grep $val file| awk -F '=' '{print $1}'
b