Sorting Visualization using Angularjs implement