Order the layers in OCI manifest by their actual apply order. This is required by the OCI image spec. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>