Cambio heap -> sorted