commit before trying angular ui-sortable directive for sorting lines in the report