Sort NOTICE file by library path #4367
Currently the NOTICE file was sorted based on the licenses in each glob which overall made it hard to find specific licenses. Now the overall license file is sorted based on the path of each license library. This had the affect that in case a dependency was moved, the NOTICE file changed which should not be the case.
This has also the affect that duplicated license files are removed in case a dependency exists in more then one vendor directory which can be the case. A notice is logged in case a license is already known which helps to identify potential duplicates.
The sorting happens alphabetically ignoring upper / lower case.