For this lesson, a label interval begins when an observation is formed and ends when the outcome used for training becomes known. A three-bar future return needs later prices. A trade-outcome label may remain unresolved until an exit many bars later. Sorting rows by entry time does not move those later prices into the past.
Feature transformations also have information intervals. Fit normalization and feature selection on training data only. A long lookback may use older public observations causally, but fitting its parameters using future test observations is a different and unacceptable operation.