Introduce notion of ordering in annotations.

Needed for Python 3 as noted in
http://python3porting.com/problems.html

Thanks, Travis-CI!