add sorting timing