sort local image after date and select last created