@@ -111,7 +111,9 @@ class Content(Resource):
if self.url:
return list(self._search_content())
else:
- return list(self._get_contents())
+ sortedData = sorted(list(self._get_contents()), key=lambda x:x['date'], reverse=True)
+ #print()
+ return sortedData
def post(self):
try: