Added similarity threshold before chronological order