Chubb Interview Question

Q. Sort the array containing 0s, 1s and 2s. Q. Define inner join with an example.