g.V().both().limit(100).barrier().groupCount().by(id).unfold() // 1 ok
g.V().both().limit(100).barrier().groupCount().by(id).unfold().order().by(values, decr) // 2 ok
g.V().both().limit(100).barrier().local(groupCount().by(id)) // 3 ok, same as the 1st
g.V().both().limit(100).barrier().local(groupCount().by(id)).order().by(values, decr) // 4 error
Error encountered evaluating script: g.V().both().limit(100).barrier().local(groupCount().by(id)).order().by(values, decr)