def currentPosition(self):
        if self._currentUid is None:
            return None

        keys = sorted(self._order.items(), key=itemgetter0)

        for position, (_, trackUid) in enumerate(keys):
            if trackUid == self._currentUid:
                return position

        raise PlaylistError, 'current uid not in _reg'