Expedia Group interview question

Sorting array with elements 0's, 1's ans 2's.