In an Old Testament class at, yes, SBTS, we learned that the Hebrew canon, which tends to be organized more by themes than chronology, puts the books of Daniel and Esther next to each other, as examples of a man and a woman who lived righteously during the exile.