add stime+id index for fetch with sort [Issue #3]