microsoft/compiler: Maintain sorting of resource type in the context
This change moves the SRVs associated with read-only SSBOs to be emitted before any other UAV. We do this because the validator expects resources to be emitted in a specific order, as noted by emit_module
.
Previously, we emitted SSBOs as SRVs (read-only) or UAVs (read-write) after other UAVs.