Question d’entretien chez Infobean

Write code to sort dictionary without using any inbuilt function?