added sort by entry id (because of the timestamp it contains