Updating structure. Adding multisort option