The adding of the order by clause happend in the wrong position and therefore made the resultset unuseable.