[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Ads Ad Manager V1 Client - Class Sort (0.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.1 (latest)](/php/docs/reference/googleads/ad-manager/latest/V1.Report.Sort)\n- [0.1.0](/php/docs/reference/googleads/ad-manager/0.1.0/V1.Report.Sort) \nReference documentation and code samples for the Google Ads Ad Manager V1 Client class Sort.\n\nRepresents a sorting in a report.\n\nGenerated from protobuf message `google.ads.admanager.v1.Report.Sort`\n\nNamespace\n---------\n\nGoogle \\\\ Ads \\\\ AdManager \\\\ V1 \\\\ Report\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getField\n\nRequired. A field (dimension or metric) to sort by.\n\n### hasField\n\n### clearField\n\n### setField\n\nRequired. A field (dimension or metric) to sort by.\n\n### getDescending\n\nOptional. The sort order. If true the sort will be descending.\n\n### setDescending\n\nOptional. The sort order. If true the sort will be descending.\n\n### getSlice\n\nOptional. Use to sort on a specific slice of data.\n\n### hasSlice\n\n### clearSlice\n\n### setSlice\n\nOptional. Use to sort on a specific slice of data.\n\n### getTimePeriodIndex\n\nOptional. When using time period columns, use this to sort on a specific\ncolumn.\n\n### hasTimePeriodIndex\n\n### clearTimePeriodIndex\n\n### setTimePeriodIndex\n\nOptional. When using time period columns, use this to sort on a specific\ncolumn.\n\n### getMetricValueType\n\nOptional. Use to specify which metric value type to sort on. Defaults to\nPRIMARY.\n\n### hasMetricValueType\n\n### clearMetricValueType\n\n### setMetricValueType\n\nOptional. Use to specify which metric value type to sort on. Defaults to\nPRIMARY."]]