Sort and order contents

Order events and new by date. Added a new api address to fetch the next events.