Django table filter in ascending order not working

Hello I try to filter an old list but I noticed that when you reach 10 it does not filter it in ascending order anyone has an idea see photo

def anciennete(request):
    liste = Employe.objects.all().order_by('Anciennete')


<table class="table">
 <thead class="thead-light">
  <th scope="col">Ancienneté</th>

{% for i in liste %}
{% endfor %}

table filter

Back to Top