static String? nameOf(SortMode? value) { return value != null ? value.toString().split(".")[1] : null; }