Ordering by initial segments