Trying ruff for the first time and I'm not being able to sort imports alphabetically, using default settings. According to docs ruff should be very similar to isort.
Here is a short example with unsorted imports
import os
import collections
Run ruff command
$ ruff format file.py
1 file left unchanged
But if I run isort the imports are properly sorted
$ isort file.py
Fixing .../file.py
What am I doing wrong?
According to https://github.com/astral-sh/ruff/issues/8926#issuecomment-1834048218: