fdo#81633: Add a new configuration option to toggle ref update on sort.

The new option is in Calc -> General and is labeled

"Update references when sorting range of cells"

Change-Id: I5ac686e96742df40f7d8ba5ffec23806db2988a6
fdo#81633: Write test for this.

Change-Id: Ifb9c6229573584edc03c504cb94bb4e49a2309d4