'Return a list of this object\'s members, sorted by offset.'

def members(self):

    membs = [(k, v[0]) for (k, v) in types[self.name][1].items()]
    membs.sort(key=itemgetter(1))
    return (map(itemgetter(0), membs) + self.extra_members)
