Working out order from rate tables (more difficult example)