sorting scenario tested