Phenom interview question

SD, python code on sorting array, data structures