Question d’entretien chez MongoDB

How to square integers in array and keep it sorted