Added a second order by criteria (id) to unambiguate sort results.