Sorting browsers listing desc, based on visits

Hello.

I want to find Browser with most hits using API

I gave try with UserSettings.getBrowser, that gave me data, but I need in desc order of nb_visits

Please help, how can I achieve this (Some example would be much more helpful). Thanks.

http://piwik.org/docs/analytics-api/reference/ I think you want to use filter_sort_order and filter_sort_column.

@Anthon: Thank You.