Sorting SharePoint list item attachments in alphabetical order (Fixed)
Note: Please read the complete article and notice the changes. It 100% worked for me. SharePoint 2007 provides an OOTB facility to sort list item attachments in alphabetical order while SharePoint 2010 don't. I have googled around for many days but could not find any OOTB feature that can help me out to do so. So i decided to go with custom JS code. I found the article by Sopholos and it was the main turning point for me. Here is the final result of my list item. I copied the code as per on his article (in Russian) and pasted in my v4.master page. Absolutely nothing happened :o) . I dug into it and used my programming skills and found that I was not using the code at the right place. I moved the code from top of the page to its bottom, used alerts to check if the code is running or not. Final screenshot below... 1. Use below JS Code and save it with name TSorter_1.js to user it later in your code. /*----------------------------------------