[ResourceBundle] Fix sorting links generation
Merge pull request #1944 from stloyd/bugfix/sorting

[ResourceBundle] Fix sorting links generation