Pergunta de entrevista da empresa FDM Group

Tech Qn: How to rearrange the numbers in the list from maximum to minimum without using max() function