Let's simplify this. Suppose I have a list in my ng-repeat
1. A & index[0]<br>
2. B & index[1]<br>
3. C & index[2]<br>
4. D & index[3]<br><br>
and there is an input field where the user can prioritize the list
For example:
1. B Prior to 1st place... then
B & index[0]<br>
A & index[1]<br>
C & index[2]<br>
D & index[3]<br>
2. D Prior to 2nd place... then
A & index[0]<br>
D & index[1]<br>
B & index[2]<br>
C & index[3]<br>
Is there a way to achieve this? Please help. Thank you in advance