Added ordering by id to apis
Merge pull request #179 from lwyszomi/api-ordering-tweak

Added ordering by id to apis