updated sort documentation