Added a sort method to make sure features are sorted by date in services.js