functools.total_ordering backport for Python 2.x

WWW: https://github.com/kvesteri/total-ordering
