Merge pull request #109 from mpryvkin/master

Fixed URL encoding mechanism
Corrected file sorting mechanism

Files are now sorted by file name by default. Case-insensitive comparison is now performed when sorting by file name or extension.