I have a discrepancy between the bib keys I write inside my LaTeX editor and the printed bib keys.
See my MWE please:
\documentclass[fontsize=12pt,a4paper,oneside,
listof=totoc, % Tabellen- und Abbildungsverzeichnis ins Inhaltsverzeichnis
bibliography=totoc, % Literaturverzeichnis ins Inhaltsverzeichnis aufnehmen
titlepage, % Titlepage-Umgebung statt \maketitle
headsepline, % horizontale Linie unter Kolumnentitel
%abstracton, % Überschrift beim Abstract einschalten, Abstract muss dazu in {abstract}-Umgebung stehen
DIV12, % auskommentieren, um den Seitenspiegel zu vergrößern
BCOR=0mm, % Bindekorrektur, die den Seitenspiegel um 6mm nach rechts verschiebt. geometry package überschreibt diesen Wert
]{scrreprt}
\usepackage[ngerman]{babel} % deutsche Trennungsregeln und Übersetzung der festcodierten Überschriften
\usepackage[style=authoryear, backend=biber, isbn=false, doi=false, maxcitenames=2, uniquename=false, maxbibnames=10]{biblatex} %sorting=none if not alphabetically, maxcitenames, maxbibnames
\begin{filecontents}{\jobname.bib}
@misc{OReilly.2005,
author = {O'Reilly, Tim},
year = {2005},
title = {What Is Web 2.0: Design Patterns and Business Models for the Next Generation of Software}
}
@misc{OReilly.2005b,
author = {O'Reilly, Tim},
year = {2005},
title = {Web 2.0: Compact Definition}
}
\addbibresource{\jobname.bib}
\end{filecontents}
\begin{document}
\cite{OReilly.2005}
\cite{OReilly.2005b}
\printbibliography
\end{document}
My first citation points to the second bib entry inside the compiled pdf and vice versa. Reading the compiled pdf is no problem in this case but it confusing the heck out of me when I write.
I guess biblatex is doing this because it is sorting the bib entriey alphabetically... I would expect this behavior:
\cite{OReilly.2005} => OReilly 2005a
\cite{OReilly.2005b} => OReilly 2005b
Is this changeable without a lot of effort or am I doing something wrong here?

bibkeys, i.e.OReilly.2005b) normally have no bearing whatsoever on the actual output in the citation. And indeed, because thetitleofOReilly.2005bis lexicographically smaller than that ofOReilly.2005(whileauthorandyearare the same), the former is sorted before the latter and thus gets the "a". – moewe Jun 15 '15 at 20:34OReilly.2005to be "a" even at the cost of making your bibliography unintuitive and confusing? Is there a very compelling reason for doing this? Or is there a deeper sorting scheme you want implemented? – moewe Jun 15 '15 at 20:36\cite{OReilly.2005}inside my editor it is printed differently in my compiled pdf. Similarily typing\cite{OReilly.2005b}would result in O'Reilly 2005 which is the key for the first one :/ – sceiler Jun 15 '15 at 20:40a/bdisambiguation and go for something that describes the title or content. E.g.OReilly.2005.WhatIsorOReilly.2005.PatternModelsvs.OReilly.2005.Compact, or something along those lines. – moewe Jun 15 '15 at 20:42OReilly.2005b, you don't really want it to use that label as there will be noain that case. Similarly, if you find another paper which should go in between the two, you don't want to have to change thebtocin the database. Not to mention if you are asked to switch to numerical labels or a different sort order. Don't hard-code stuff the computer can figure out better... ;) – cfr Jun 15 '15 at 22:05sortyear = {2005-1}toOReilly.2005andsortyear = {2005-2}toOReilly.2005b. Or you could use thesorttitlefield. – moewe Jun 16 '15 at 05:26sorttitleandsortyear. – moewe Jun 16 '15 at 19:20