R – Why won’t windows explorer sort directories under the ‘Temporary ASP.NET Files’ directory by name

asp.netdirectoryexplorersortingtemporary-files

When I navigate to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\myfirstproject\202aebd2\f0e764e2\assembly\dl3 in Windows explorer, there are 108 folders with 8 character hexadecimal names. Explorer won't sort this folder by name (or value ). What gives?

alt text

Best Answer

It is sorting them by name. Unfortunately, it's using a natural sort which includes numbers. This means that 99b6... sorts before 182c..., because 99 < 182.