format-list

Format-List: sort properties by name

Is it possible to sort the output of the Format-List cmdlet by property name? Suppose that I have an object $x with two properties "A" and "B", and when I run Format-List with it I get (PS) > $x | Format-List B : value b A : value a I would like to have (PS) > $x | Format-List A : value a B : value b NOTE: I should have specified ...