Fix the sort duration capture. Update progress bar of binary tree sort.