Bash On Windows Image Defaults to Wrong Sort Command

When you use the run command with the bash.exe shell from windows@2.4.0 using the windows/default executor, sort incorrectly runs the C:\\Windows\System32\sort command rather than the GNU /usr/bin/sort as you may verify with which sort. As a workaround, one may explicitly run /usr/bin/sort, but I imagine this issue affects other commands that I have not yet used. I was not able to reproduce this issue locally, so I imagine that upgrading the Windows image to the latest version of bash may resolve this and many other issues.