bug #4381 Cannot remove the last remembered sorted column

Signed-off-by: Marc Delisle <marc@infomarc.info>