I implemented powerslice and added some basic slices, but I cant seem to control in what order the slices appear in the dropdown. Implementing the "Order" property on each slice appears to have no affect. Is there another way to order them, and what is this property supposed to do?
Have you overridden the "Order" property?
Refer this article for reference
Yes, still does not seem to work. They sort in some wonky unpredictable way not matter what I set the order property of my slices to. Here is an example. I have 8 slices all property set to the right order as I want them shown.
public class FormsSlice : ContentSliceBase<FormContainerBlock>
public override string Name => "All Forms";
public override int Order => 2;
You need to override SortOrder.
I was working with this myself recently and noticed the same thing, I also created a pull request to remove the Order property that isn't used at all, hopefully it'll be approved at some point.
That was the trick, thanks so much. The documentation should be updated to reflect that, because every post I saw with examples uses the Order property.