Sort Value

Hi,
I have this keyboard and this is her blueprint,
The keyboard has 9 buttons that generate numbers from 1 to 99, then it displays them and adds each subsequent one.
Generates a new value when you press it.
How can I do to save each of the drawn values
then rank them from lowest to highest, taking into account new values that appear?

You could add all digits to an array of ints. And when you need them to be sorted simply use a sorting algorithm to get them from the lowest to the highest number.

The blueprint extended standard library contains a node for this.