Corrected model declaration/remove multiply instance of view/added jQuery sort method