You can set LC_COLLATE to traditional sort order just for your command:
env LC_COLLATE=C sort tmp
This won’t change the current environment just the one in which the sort command executes.
You should have the same behaviour with this.
You can set LC_COLLATE to traditional sort order just for your command:
env LC_COLLATE=C sort tmp
This won’t change the current environment just the one in which the sort command executes.
You should have the same behaviour with this.