Python Sort Nonetype Object Is Not Subscriptable In Python What Does