restoring layer order OK now
... but sort on opaque field not enforced
... and layer redordering is broken