diff --git a/src/blobs/overlays.ts b/src/blobs/overlays.ts index b208fb7..d6cae5b 100644 --- a/src/blobs/overlays.ts +++ b/src/blobs/overlays.ts @@ -436,7 +436,11 @@ export async function serializePartOverlays(partValues: PartResValues, overlaysD }) let valuesObj = { resources: {} as { [type: string]: Array } } - for (let [{ type, key }, value] of values.entries()) { + let resEntries = Array.from(values.entries()) + resEntries.sort(([k1], [k2]) => { + return k1.key.localeCompare(k2.key) + }) + for (let [{ type, key }, value] of resEntries) { let entry = { $: { name: key,