Hello I'm trying to sort Player class objects with their name stored as their attribute like this
class Player:
def __init__(self,license_no):
self.license = license_no
self.name = input('Oyuncunun adını ve soyadını giriniz: ').replace('ı','I').replace('i','İ').upper()
self.fide_rating = get_ratings('Oyuncunun FIDE kuvvet puanını giriniz: ')
self.national_rating = get_ratings('Oyuncunun ulusal kuvvet puanını giriniz: ')
self.points = 0
I have these objects in a list and I want to sort this list by their name attribute. I can do it with an operator. all together with English alphabetic order just fine but I need to sort them by Turkish alphabet which has characters like 'Ç', 'Ö' etc. How can I do that any help is appreciated?