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

This option is defaulted to off for 4.3 for back-compatibility.

Reviewed-on: https://gerrit.libreoffice.org/11902
Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Signed-off-by: Andras Timar <andras.timar@collabora.com>

Conflicts:
	sc/inc/inputopt.hxx
	sc/qa/unit/ucalc.cxx
	sc/source/core/tool/inputopt.cxx

Change-Id: I5ac686e96742df40f7d8ba5ffec23806db2988a6
(cherry picked from commit c357fb2dbdc54d9ee8471ce4e9f9381e74a6deed)
Signed-off-by: Andras Timar <andras.timar@collabora.com>