数组sort函数
spam = [‘a‘, ‘z‘, ‘A‘, ‘Z‘] spam.sort(key=str.lower) >>[‘a‘, ‘A‘, ‘z‘, ‘Z‘]
python函数
原文:https://www.cnblogs.com/bingxing/p/8541582.html