Sort Folders & Files in Windows 10 by Name and Size Automatically


The on-going development of Windows 10 and related products is fascinating. New features are being rolled out consistently to make Windows 10 a robust operating system. However, users have to grapple with several issues at the same time. One common problem is the inconvenience of sorting files and folders numerically or by size.

Sort Files In Windows 10 Numerically And By Size

Microsoft has not made it easy to do it. That leaves several users at the mercy of support forums for answers. Don’t worry because we have got you covered. Here are a few ways you can sort files, and even folders in Windows 10 numerically and by size.
Let’s begin.

1. Sort Numerically Using Group Policy Editor

The Group Policy Editor isn't present in the Windows 10 Home edition. You can grab it from reputed sites or download it using the link below.
If you have files beginning with numbers like 1,2,3, etc., you cannot sort them in ascending or descending order. This is how it is looking currently.

Sort Files In Windows 10 Numerically And By Size 1

You will have to enable numeric sorting in Windows 10 because it is not enabled by default. Duh. To begin, press the Windows Key+R on your keyboard to launch the Run command prompt. Type gpedit.msc in there and hit the Enter key.

Sort Files In Windows 10 Numerically And By Size 2

It may take some time so don’t get worked up. You should now see the Local Group Policy Editor window with two panes. In the left one, click on Computer Configuration and then double-click on Administrative Templates in the right window pane.

Sort Files In Windows 10 Numerically And By Size 3

When you see the Windows Components folder, double-click on it.

Sort Files In Windows 10 Numerically And By Size 4

Scroll down to find the File Explorer folder and open it.

Sort Files In Windows 10 Numerically And By Size 5

You should see a bunch of files here. Find 'Turn off numerical sorting in File Explorer' here and open it.
Warning: Don’t mess around with other files in this pane as it can break the way your Windows functions.

Sort Files In Windows 10 Numerically And By Size 6

You will notice that the setting is ‘Not Configured’ by default. Select Enabled and click on Apply to save your settings.

Sort Files In Windows 10 Numerically And By Size 7

Getting back to the example I shared above, you can see that the files are now sorted numerically.

Sort Files In Windows 10 Numerically And By Size 8

The file named 22 appears before file named 3 because the first digit 2 is smaller than 3. If it is not working for you, try restarting your system after saving everything.
The numerical sorting order takes the sequence of digit occurrence into consideration. In simpler terms, it arranges the files by following the historical value of the first digit, second digit and so on. That's why you 11, 12, and 22 file names are appearing between 1 and 3.

2. Enable Numeric Sorting Using Registry Editor

Let's test another method. Registry Editor is available on all Windows editions. Once again, launch the Run command prompt by pressing Windows Key+R, type regedit in the field and hit Enter.

Sort Files In Windows 10 Numerically And By Size 9

Windows may ask your permission to open Registry Editor, so click on Yes if asked. The folder structure that you have to navigate through is as follows:

This is how it should look.

Sort Files In Windows 10 Numerically And By Size 10

You'll have to create a new file here. Right-click anywhere in the right pane and select New and then select DWORD (32-bit) Value from the context menu. This will create a blank file.

Sort Files In Windows 10 Numerically And By Size 11

Rename the newly created file to NoStrCmpLogical.

Sort Files In Windows 10 Numerically And By Size 12

Double-click to open this file and enter the numerical value ‘0’ in the Value data field. Then hit OK.

Sort Files In Windows 10 Numerically And By Size 13

Going back to the example in the previous section, your files should be ordered numerically. If not, reboot your computer.

3. Sort Folders in Windows 10 by Size

There can be many reasons why you would want to sort files and folders in your hard disk by size in the file explorer. One of them is that you need to know which files/folders are taking up most space. We all need to perform house cleaning on the hard disk from time to time.
Don’t worry. This one is less complicated because Microsoft has already thought of it. Only they didn’t make it easy to spot.

Open file explorer by pressing the Windows+E shortcut. On the upper right corner, you will see the familiar search bar. Type size: to reveal a hidden drop-down menu.

Sort Files In Windows 10 Numerically And By Size 14

You can now choose one of the several options available. You can find empty files or files that are smaller or larger than a particular value.
To use the search function in the file explorer without having to use the mouse, press CTRL+F.

4. TreeSize

TreeSize is a free tool which can be a bit more helpful than the default option provided by Microsoft. When you launch TreeSize, it will automatically scan your computer for files and folders, and present them in a tree structure.

Sort Files In Windows 10 Numerically And By Size 15

You can not only view files in ascending or descending order of size but also folders, which can be really, really helpful. Hovering over individual entries will reveal even more useful data like dates, compression, average file size, and so on.

Space Organzation

Helpful shortcuts and tools like these can help manage the storage better. Using the above methods, you can easily sort files numerically. You also now know how to sort folders by size which can be helpful when you need to free up some space from your computer.

Next up: Not happy with the default photos app which ships with Windows 10? Here are 5 alternatives worth checking out.



How You Feel About This Post

Like Our Content ? Enter Your Email and Get Daily Dose of Infotainment Stories


5G,2,Abaya,14,Adobe,2,Ahsan Khan,3,Aima Baig,5,Aiman khan,18,Alizeh Shah,9,Android,49,Apple,16,Apps,723,Ayesha Khan,1,Ayesha Umer,3,Ayeza Khan,23,Azekah,1,Bags,1,Bollywood,81,Breakfast,1,Bridal Dresses,11,Celebrities,1295,Children Prints,8,Cookware,1,Dresses,367,Facebook,56,Fashion,457,Fatima Effendi,1,Fawad Khan,4,Firefox,4,Fiza Ali,2,Food,29,Gadets iPhone,8,Gadgets,930,Gents,1,Gents Dress,26,Gmail,10,Google,68,Google Assistant,8,Google Duo,8,Google Gboard,7,Google Maps,19,Google Photos,8,Google Pixel,2,Google Play Store,3,Hair Styles,12,Hania Amir,9,Hareem Farooq,3,Health,84,Hera Mani,7,Hijab,3,Hina Altaf,4,Hollywood,9,How To,310,HTC,5,Huawei,152,Humayun Saeed,1,Iman Aly,1,Infinix,16,Instagram,54,iOS,63,Iqra Aziz,18,Iqrar Ul Hassan,11,Kinza Hashmi,8,Komal Rizvi,2,Ladies Cloths,200,Laptops,1,Lenovo,13,LG,24,Mac,5,Mahira,18,Makeup,15,Mathira,2,Mawra Hocane,8,Maya Ali,16,Mehndi Styles,28,Mehwish Hayat,12,Meizu,19,Microsoft,5,Minal Khan,15,Mix topics,927,Mobilink,15,Momal Sheikh,3,Momina Mustahsen,2,Motorola,20,Music,36,Nadia Hussain,1,Naimal,2,Neelam Muneer,4,Neelam Usaf,1,Netflix,3,Nida Yasir,9,Nimra Khan,6,Nokia,43,Nubia X,6,Office,1,OnePlus,16,Oppo,60,Pak Army,1,Pixel,1,PTCL,3,Qmobile,2,Realme,19,Reema Khan,8,Resham,1,Saba Qamar,13,Sabeeka Imam,1,Sabeena,1,Saboor Aly,5,Sadaf kanwal,7,Sajal Ali,14,Samsung,160,Sana Fakhar,2,Sana Javed,1,Sanam Baloch,4,Sanam Jung,2,Sania Mirza,1,Saniya Shamshad,1,Sarah Khan,6,Shawls,3,Shoes,14,Showbiz,1439,Sidra Batool,1,Skin Care,9,Skype,6,Snapchat,12,Sony,11,Sonya Hussain,2,SoundCloud,1,Sports,74,Startups,2,Summer Outfits,61,Syed Jibran,4,Tech,1870,Techno,8,Telegram,4,Telenor,10,TikTok,7,TV,4,TV Series,153,Twitter,20,Uber,1,Ufone,3,Urwa Hocane,7,Videos,140,Vivo,58,W,1,WhatsApp,80,Windows,101,Winter Collection,1,WordPress,1,Xiaomi,100,YouTube,23,Zara Noor,14,Zenfone,2,Zong,4,
Daily InfoTainment: Sort Folders & Files in Windows 10 by Name and Size Automatically
Sort Folders & Files in Windows 10 by Name and Size Automatically
Sort Folders & Files in Windows 10 by Name and Size Automatically,
Daily InfoTainment
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy