krivo: sorting selecting at teams index