Block::isSortingChanged
Whether or not sorting of this block has changed.
This has to be checked separately, because the gridfield-extensions that deal with sorting directly modify DB entries and thus don't update version numbers in the stage tables.
Signature
protected function isSortingChanged([boolean
$checkPublished = false] )
Parameters
$checkPublished
— boolean- whether or not the published status of the block should also be checked
Returns
- bool
- true if sorting is different between Stage and Live