track: Avoid various sorting operations before timeline commit