Fix a bug that incremenal sorting is not used. (#42)