sort value with key set to filed resolve of instance of a class Variable, created with an argument arg, reverse the sort and return the result.
return sorted ( value , key = Variable ( arg ) . resolve , reverse = True )