<commit_before>import React, { FunctionComponent, ReactNode, useState } from 'react';
import { Global, styled } from '@storybook/theming';
import { Icons, IconButton, WithTooltip, TooltipLinkList } from '@storybook/components';

import { Filters } from './ColorFilters';

const iframeId = 'storybook-preview-iframe';

const baseList = [
  'blurred vision',
  'deuteranomaly',
  'protanomaly',
  'protanopia',
  'deuteranopia',
  'tritanomaly',
  'tritanopia',
  'achromatomaly',
  'achromatopsia',
  'mono',
] as const;

type Filter = typeof baseList[number] | null;

const getFilter = (filter: Filter) => {<commit_msg>Update order so -opia and -anomalies are together <commit_after>import React, { FunctionComponent, ReactNode, useState } from 'react';
import { Global, styled } from '@storybook/theming';
import { Icons, IconButton, WithTooltip, TooltipLinkList } from '@storybook/components';

import { Filters } from './ColorFilters';

const iframeId = 'storybook-preview-iframe';

const baseList = [
  'blurred vision',
  'deuteranomaly',
  'deuteranopia',
  'protanomaly',
  'protanopia',
  'tritanomaly',
  'tritanopia',
  'achromatomaly',
  'achromatopsia',
  'mono',
] as const;

type Filter = typeof baseList[number] | null;

const getFilter = (filter: Filter) => {
{'fraction_non_alphanumeric': 0.1396078431372549, 'fraction_numerical': 0.0, 'mean_word_length': 5.224390243902439, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5036521', 'n_tokens_mistral': 438, 'n_tokens_neox': 421, 'n_words': 108}