sort order by params
Merge pull request #721 from Tendrid/develop

sort order by params