Pergunta de entrevista da empresa NiCE

Puzzel for ordering the min max device to sort an array of 4 element.