See #5 Sorting based on image time