updating GET to sort by _id