# NOT RUN {
data(data="hubble",package="lava")
dsort(hubble, "sigma")
dsort(hubble, hubble$sigma,"v")
dsort(hubble,~sigma+v)
dsort(hubble,~sigma-v)
## with direct asignment
dsort(hubble) <- ~sigma-v
# }
Run the code above in your browser using DataLab