Changes to image sorting behaviour
Amend to the loaction import controller