add limit and sortMetric
Merge pull request #2 from strikingly/master

added limit and sortMetric