# `MergeJoin` Operator - Cont'd

__*Sorting to Sort*__

![`smart`](MergeJoin02_aa_001_20230913.png)

------------------------------------------------------------------------------
`Merge Join` requires that both tables involved in the join operation be sorted based on the join columns. Therefore, the tables must be sorted by these columns prior to performing the join.