Step 1: Group 1 cyanide (NaCN) is used as a depressant in froth floatation.
Step 2: Sphalerite (ZnS) often contains Galena (PbS) as an impurity.
Step 3: NaCN reacts with ZnS to form a soluble complex $Na_2[Zn(CN)_4]$, preventing it from forming froth, while PbS goes to the froth.