fix payoff sorting

was sorting as strings, now sorts as integers
also, ensure focal dm is preserved when the table is rebuilt.