turn on sortByThread function