How To Sort A List In Python Without Sort Function