diff --git a/Sources/FigmaExport/Subcommands/ExportIcons.swift b/Sources/FigmaExport/Subcommands/ExportIcons.swift index 5ad2b6fc..a98b064d 100644 --- a/Sources/FigmaExport/Subcommands/ExportIcons.swift +++ b/Sources/FigmaExport/Subcommands/ExportIcons.swift @@ -218,7 +218,7 @@ extension FigmaExportCommand { }.map { fileContents -> String in fileContents.destination.file.deletingPathExtension().lastPathComponent }) - let composeFile = try composeExporter.exportIcons(iconNames: Array(composeIconNames)) + let composeFile = try composeExporter.exportIcons(iconNames: Array(composeIconNames).sorted()) composeFile.map { localFiles.append($0) } logger.info("Writing files to Android Studio project...")