Maybe replace this code with 
```
def ordering(a, b):
    if any(ai <  bi for ai, bi in zip(a, b)): 
        return False
    return any(ai >  bi for ai, bi in zip(a, b))
```
(not tested)