diff --git a/sorting/sort.py b/sorting/sort.py
index 3547b0cb0c7582900ba102fb02eda95613f7909d..05af340f56aa98b0470ec85f4e48ecef74e64a4b 100644
--- a/sorting/sort.py
+++ b/sorting/sort.py
@@ -1,10 +1,10 @@
 from contextlib import redirect_stdout
 import locale 
-locale.setlocale(locale.LC_COLLATE, '')
+locale.setlocale(locale.LC_COLLATE, 'pt_BR.UTF-8')
 
 with open("rotulos.in", encoding="utf-8") as f:
     ordered = sorted([line.strip() for line in f.readlines()], key=locale.strxfrm)
 
 with open("rotulos.out", "w", encoding="utf-8") as f:
     with redirect_stdout(f):
-        print("\n".join(ordered))
\ No newline at end of file
+        print("\n".join(ordered))