Fixing ordering of licenses