Fix sort by duration