I'm trying to get the order of picklist values on Task Type.
I have a SOQL query as follows
SELECT Id, Value, Label, IsDefaultValue, IsActive FROM PicklistValueInfo WHERE entityParticleId = 'Task.Type'
But this API does not return the values in the same order set in the Salesforce UI. I also cannot find any API that returns the order set out there.
Does such data exist?