Added option to place index as data attribute

Based on a [StackOverflow question](http://stackoverflow.com/questions/25391629/tiny-sort-add-numbering-to-the-sorted-elements), which I felt would be a handy addition, this PR allows to add a data attribute with the index number on the sorted elements.