fixed a broken timeline sorting criterion.