save(lp): fixing a bug in sorting B

Signed-off-by: Lev Nachmanson <levnach@microsoft.com>