Sorted product images by size and added constants/helper