api now returns aplhabetically sorted data
updating tests
minor style fix
fixing sorting by locale
fixing pep8
Merge pull request #7 from piotr-mazurek/bug_2573

Bug 2573