added sorting change with angular