Expedia Group Interview Question

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