not sure if one can sort a calculated row of a table like that; as the calculation itself is dependent on the relative location of the values in their respective tables. You could however replace the formula in cell B2 of calculations sheet with
Formula: copy to clipboard
=data2!B2-data1!B2
and drag down. Thereafter, it should sort.