fix for situation if sorting data loaded and new loaded dataItem is a single image where sorting is not applicable