add report sort by rotate array