Sort List Using For Loop In Python Using Anaconda