The sort of your Windows-1252 encoded DOS text file works fine with 32-bit UltraEdit v2022.1.0.124. There is either a problem with 64-bit version or an installation issue or a file system issue.
I have not installed the 64-bit version and cannot run a test with 64-bit UltraEdit v2022.1.0.124.
Suggestion for fixing an installation issue:
I recommend to uninstall UltraEdit which results in deletion of all program files of UltraEdit, but in keeping the configuration files in
%APPDATA%\IDMComp\UltraEdit. Please make sure to
uncheck the option
Deactivate license during the uninstall. Both options should be unchecked for this temporary uninstall. Next restart Windows after uninstall completed to really finish the uninstall, i.e. delete remaining files and directories using pending file rename operations of Windows.
Then
download the EXE installer (recommended) or the
MSI installation package of 64-bit UltraEdit and install it again.
I hope, this solves calling
GNU\sort\sort.exe for the entire file with nothing selected in the file.
Suggestion for fixing a file system issue:
There could be a problem with the storage location of the file which can be sorted by selecting all lines, but fails to be sorted on simply sorting all lines in file without selection. UltraEdit creates on a selection a temporary file of which lines are sorted and next replacing the selection with deletion of temporary file. It looks like that works, but not the sort of the entire file. If the example file is stored on a local drive like drive
C:, I recommend to open a command prompt window as administrator and run in this command prompt window
chkdsk C: /F and confirm the prompt to check the disk
C: for file system errors and fix them on next boot of Windows. Restart Windows and let the Windows check disk tool run at startup of Windows.
After restart of Windows finished, cut the file to sort at current storage location and paste it into a different directory. Next cut it from different directory and paste it into original directory. Yes, I know that this procedure does not really make sense, but it often helped in the past on a file which could not be handled correct by UltraEdit and magically solved the problem with that file forever. I recommend to delete additionally all files in the directory
%APPDATA%\IDMComp\UltraEdit\Restore. That directory should be empty on all files closed in UltraEdit on last exit and no instance of UltraEdit is running at the moment. Now start UltraEdit, open the file and try the sort of the entire file once again.
Additional information about UltraEdit v2022.1.0.124;
I want to add the
latest changes information for UltraEdit v2022.1.0.124 (released 2022-12-14):
- Addressed issue with sort failing
- Resolved issue with live preview and browser view
- Addressed issue with incorrect command line switch handling
I am not aware of what exactly were the three issues fixed in UE v2022.1.0.124 as I did not report them.