DIRACGrid/DIRAC — pull request #741 by KrzysztofCiba (2012-05-08 15:26:41+00:00)
Title: FIX: sort lfns on file/directory removal

When removing files and directories, one should sort them to remove leaves first. At the moment you can have a LFN list like that: ```[ '/dir/', '/dir/file' ]``` and ReplicaManager will be trying to remove ```/dir``` before ```/dir/file```. Sorting of LFN list in reverse order should do the trick.