sort array by footnote_index
Merge pull request #22 from surreal8/master

sort array by footnote_index