Fix for #243 proposed by spikyjt
TbJsonGrid was impossible to sort several times in a row, only once, before. With this fix it should behave correctly.