Support for custom layer order for legacy projects