Added test for list view sort behaviour