old_contents: import {
    FileParser
  } from '../../cli'
  
  let singleton = Symbol()
  let singletonEnforcer = Symbol()
  
  class Manager {
  
    constructor(enforcer) {
      if(enforcer != singletonEnforcer) throw "Cannot construct Json singleton"
      
      this._list = FileParser.getAllFiles();
      this._list[0].files.sort(FileParser.predicatBy('date',-1));
      // this._list.forEach(function(elt){
      //   console.log(elt)
      // })
    }
  
    static get instance() {
      if(!this[singleton]) {
        this[singleton] = new Manager(singletonEnforcer)
      }
      return this[singleton]
    }
  
    getList() {
  
      return this._list
    }
  
    updateList() {
  
      this._list = FileParser.getAllFiles();
      this._list.sort(FileParser.predicatBy('date'));
  
      return this
    }
  }
  
  export default Manager
new_contents: import {
    FileParser
  } from '../../cli'
  
  let singleton = Symbol()
  let singletonEnforcer = Symbol()
  
  class Manager {
  
    constructor(enforcer) {
      if(enforcer != singletonEnforcer) throw "Cannot construct Json singleton"
      
      this._list = FileParser.getAllFiles();
      this._list[0].files.sort(FileParser.predicatBy('date',-1));
    }
  
    static get instance() {
      if(!this[singleton]) {
        this[singleton] = new Manager(singletonEnforcer)
      }
      return this[singleton]
    }
  
    getList() {
  
      return this._list
    }
  
    updateList() {
  
      this._list = FileParser.getAllFiles();
      this._list.sort(FileParser.predicatBy('date'));
  
      return this
    }
  }
  
  export default Manager
subject: sort feature server side