Test case for sort view done