fixed sorting issue

getEntries will now be sorted properly by date