I'm trying to select a group of list and get results in re-ordered number fashion.
e.g.
ID name
- jack
- jack
- paul
- bob
- bob
- paul
- bob
Say I select name='bob' thus got its ID numbers 4,5,7
Now I want the results to be
in this order 1, 2, 3 ...
instead of 4, 5, 7 ...
because it's bob's first second and third, etc...
What's the easiest way to accomplish this?