Geo-distance sorting currently accepts the "mode" parameter, but it should accept "sort_mode" instead.