MINOR: [Python][Doc] Added sort example to docs
MINOR: [Python][Doc] Added sort example to docs

I added an example to the docs, but wasn't exactly clear where the doc string for sort_indices came from. That  doc string could use a description of how sort_keys are used and a reference to take()

Is compute.cpp the right place to make changes? If so, I am happy to update this pull request to add more info.

Closes #10926 from tdunning/master

Authored-by: Ted Dunning <974fcca2b5bf880e781142b94ecc2ed1fff75482@gmail.com>
Signed-off-by: Yibo Cai <e732a3f0de35687e82bda0008a72e443d2f69704@arm.com>

cpcloud/arrow,icexelloss/arrow,wesm/arrow,wesm/arrow,icexelloss/arrow,kou/arrow,kou/arrow,icexelloss/arrow,laurentgo/arrow,kou/arrow,icexelloss/arrow,apache/arrow,cpcloud/arrow,apache/arrow,apache/arrow,laurentgo/arrow,wesm/arrow,wesm/arrow,wesm/arrow,cpcloud/arrow,icexelloss/arrow,kou/arrow,icexelloss/arrow,laurentgo/arrow,icexelloss/arrow,cpcloud/arrow,apache/arrow,laurentgo/arrow,kou/arrow,icexelloss/arrow,kou/arrow,apache/arrow,cpcloud/arrow,cpcloud/arrow,kou/arrow,cpcloud/arrow,kou/arrow,wesm/arrow,laurentgo/arrow,cpcloud/arrow,icexelloss/arrow,laurentgo/arrow,laurentgo/arrow,wesm/arrow,cpcloud/arrow,kou/arrow,icexelloss/arrow,apache/arrow,wesm/arrow,apache/arrow,kou/arrow,icexelloss/arrow,laurentgo/arrow,icexelloss/arrow,laurentgo/arrow,cpcloud/arrow,kou/arrow,apache/arrow,wesm/arrow,apache/arrow,wesm/arrow,icexelloss/arrow,cpcloud/arrow,laurentgo/arrow,apache/arrow,wesm/arrow,kou/arrow,cpcloud/arrow,wesm/arrow,apache/arrow,kou/arrow,icexelloss/arrow,kou/arrow,apache/arrow,apache/arrow,wesm/arrow,apache/arrow,laurentgo/arrow,wesm/arrow,laurentgo/arrow,cpcloud/arrow,laurentgo/arrow,laurentgo/arrow,cpcloud/arrow,laurentgo/arrow