def get_reverse(self):
if self.sort in FLOAT_ATTRIBUTES:<EOL><INDENT>return True<EOL><DEDENT>elif self.sort in NONFLOAT_ATTRIBUTES:<EOL><INDENT>return False<EOL><DEDENT>else:<EOL><INDENT>raise InvalidSortError(self.sort)<EOL><DEDENT>
By default, Cable entries are sorted by rating and Broadcast ratings are
        sorted by time.
        By default, float attributes are sorted from highest to lowest and non-float
        attributes are sorted alphabetically (show, net) or chronologically (time).