def _sort(self, data):
        dx = data[0] - self._x
        dy = data[1] - self._y
        return (dx * dx / 4.0) + (dy * dy)
dataset/ETHPy150Open peterbrittain/asciimatics/asciimatics/particles.py/ShotEmitter._sort/original