Generate Unordered Access View from UTexture2D or RenderTarget2D

have a look at this plugin: GitHub - ValentinKraft/UE4_SortingComputeShader: A compute shader plugin that is capable of sorting positional data in parallel directly on the GPU.