added sorting params in medium service

--HG--
branch : 0.8