Sort based on last modified date.