First item and last item switching

I have a data type with two fields one is a text and one is an image. When I display the text using first item everything is fine, but when I create an image in same data type it creates a blank spot in front of the text field and it becomes the last item.

Is there a way to ignore blank spaces or would I have to investigate some type of work around, or does anyone know off hand about this issue.

So strange thing is now the image seems to be ignoring the blank space from other fields in the list of data types but with the text field i had to add a condition that checks if first item is empty then use the last item.