Negative temperature coefficient

The essence of the problem is that my temperature sensors, and many other sensors in the car, use the so-called NTC or negative temperature coefficient.
What does it look like on the dashboard? ))) :rofl:
If you guessed it, then it’s very sad🧐
I did not find a way to mathematically put the sequence in direct order.
Is it possible to make such a magic button in the text sensor settings or in the settings of the input itself or in the protocol description .xml file, which will change the order of numbers in a straight line?
T. E. Now we have, let us say, when heated, the sequence 9 8 7 6 5 4 3 2 1
When cooling 1 2 3 4 5 6 7 8 9 …
You need to make the numbers follow in a different order
: when heated 123456789
With cooling 987654321!