Bottom taskbar has "windowButtonsSortable" option set to true.

Top taskbar has "windowButtonsSortable" option set to false.

You can drag and resize both taskbar to see how sortable will act then.