Fixing ordering elements by index. Closes #10

This pull request fixes caelum/vraptor#479.