Fix order of epair number and a/b side

Related to https://github.com/olevole/cbsd/issues/25 but doesn't solve the issue fully.