The correct statement that explains how to distinguish between numerical and categorical data is:
D - Numerical data sorts by number values such as measurements, whereas categorical data sorts by shared features or attributes.
Numerical data consists of quantitative values that can be measured and calculated, while categorical data consists of qualitative values that represent different categories or groups.