If you add the data from the sensor to the array put them in the sorted place.
The preferred algorithm is insertion sort
Se si aggiungono i dati dal sensore alla matrice metterli nel posto ordinato.
L'algoritmo preferito è insertion sort
(cercando di imparare un po 'di italiano)