Pregunta de entrevista de [24]7.ai

Array[9,7,6,5,4,6,0,3,2] sort it without any inbuilt methods.functions