Adding functor to compare CbcRegItem and then correcting saveRegMap for dumping register on a file with the right order