Adding sort_order field to images