trying to fix multisort