g.V().hasLabel('Asset').order().by('anyprop',decr).valueMap(true)
sometimes it throws error:
UnsupportedOperationException\",\"detailedMessage\":\"Encountered a traverser that does not map to a value for child traversal: value(anyprop)
my guess is there are some vertex does not have 'anyprop' property.
I dynamically generate the query, so 'anyprop' could be any property, how do I avoid this error?