test storage: extract ORDER BY "_id" test cases