Block attribute order.

For blocks ('components') with attributes 'Advanced Attribute Edit' shows them in the correct order but the properties window shows them in alphabetical order. Is there a way to correct this?