Sort image examples based on their pixel count

Compared to sorting text examples based on their line count.