change sorting order
Merge pull request #619 from marcindziadus/sorting-order

Change sorting order (fix #618)