What's the first step when ordering table items?

Selecting the items with SELECTThere is no first step, we start the query with ORDER BY

Selecting the items with SELECT.