TableController: fix update of cell value when indexColumn is enabled

[#63474022]
Fix tables sorting when blank row is present

[#63474022]

Ensure that it's always at the end of table.