Problem sort custom variables JSON results

I configured 2 custom variables in Piwik. I’m using the API to obtain values ordered by “nb_visists”.
The request that I used is this:


The problem is that the results are not sorted according to the value of “nb_visits” column.
When I use the parameter “filter_sort_column” the results are sorted in a different way, but the order is still wrong.

Hi there,

Do you have a URL that shows this bug on the ?