Domanda di colloquio di Infobean

Write code to sort dictionary without using any inbuilt function?