fixing image sort
more options for image sorting