Description - Display Order Mentioned on the method defaultProperties() not following the order mentioned
In the code base, we recently changed the approach in which default fields are shown in Command shell using the method
public defaultProperties(): string[] | undefined {
return ['WorkloadDisplayName', 'StatusDisplayName'];
}
Current Behavior
Even if we have given the list of fields to be displayed in a specific order, it does not follow the given order. It will just show the results in the same order how the fields are available in the default output.

Expected Behavior
It would be good if the output follows the default order given in the defaultproperties method. If it does not follow, we may have to resort our approach to old approach where check the output and show the results in the needed order which is not an optimum solution since we have refined output mechanism defined now.
PS : Have created the issue without a template since it is not a bug in the result, but with the code base
Description - Display Order Mentioned on the method defaultProperties() not following the order mentioned
In the code base, we recently changed the approach in which default fields are shown in Command shell using the method
Current Behavior
Even if we have given the list of fields to be displayed in a specific order, it does not follow the given order. It will just show the results in the same order how the fields are available in the default output.

Expected Behavior
It would be good if the output follows the default order given in the
defaultpropertiesmethod. If it does not follow, we may have to resort our approach to old approach where check the output and show the results in the needed order which is not an optimum solution since we have refined output mechanism defined now.PS : Have created the issue without a template since it is not a bug in the result, but with the code base