Fixed sorting in Report