answered 9 years ago
You may need to use a lambda function.
lambda eg: abs(eg[0])
Haven't tested but some variant on this should work.