Have you looked at sortslices()?
sortslices()
julia> sortslices(t, dims=2) 3×2 Matrix{Float64}: 0.5 0.5 0.0 0.5 0.5 0.0