Today, I came across a problem where my client wanted to customize appearance of sidebar widget areas in WordPress admin. I have found a quick solution for that.
Below code snippet is used to reorder appearance of sidebar widget areas at backend. This will create three widget areas with name one, two, first.
Widget areas order at WordPress backend will look like below.
Code from line no. 5 to 16 used to filter widgets which we want to reorder. This code will put “first” widget at top of all.