modify sort() and "tempo"