Implementation of events sorting

Returns a sorted list of strings that represents the images that are
closest in the future to most distance in the future.