Start here. This is the direct spoken answer to practice first.
Why this question matters
Explain composite index column order with practical .NET data-access examples and production trade-offs. It matters in real backend work because query shape, indexes, transactions, locking, and data volume can turn harmless-looking code into a production bottleneck. The practical angle is composite index column order, EF Core/SQL behavior, API boundaries, production risks, and practical debugging or design judgment, tied to a concrete production decision.
A composite index contains more than one column, and the order matters because the database can use the leading columns most effectively. I design it around the query's filter and sort pattern. For example, if most queries filter by tenant and status and sort by created date, the index should reflect that access path.