rearrangeByZIndex method
void
rearrangeByZIndex()
Implementation
void rearrangeByZIndex() {
// final entries = _hashEntries.values.toList();
// entries.sort((a, b) => a.zindex.compareTo(b.zindex));
final convertedEntries = _entries.map((e) => e.entry);
_currentState.rearrange(convertedEntries,
below: convertedEntries.isNotEmpty ? convertedEntries.last : null);
}