Got PdoRepository fully tested.
Got SqlSingleFieldSort tested and bugfixed.