Sorting documents with tf/idf.