Question d’entretien chez Paysafe

from a given integer array remove all those elements which are less than the given number and return the array in sorted form.