# sort-x icon

Sort x. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/sort-x

- Category: Actions
- Use it for: sort clear, remove sort
- Example: Clear the sort order
- Built from: sort + x
- Tags: sort, order, arrange, up-down, arrows, ascending, descending, x
- Family: sort, arrow-down-1-9, arrow-down-9-1, arrow-down-a-z, arrow-down-clock, arrow-down-z-a, arrow-up-clock, sort-ascending, sort-descending
- Component name: SortXIcon
- Added: 2026-11-12

## Files

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too.

- line-round: https://gentleface.com/svg/line-round/16/sort-x.svg · PNG https://gentleface.com/png/line-round/16/sort-x.png · https://gentleface.com/png/line-round/32/sort-x.png · https://gentleface.com/png/line-round/48/sort-x.png
- line-soft: https://gentleface.com/svg/line-soft/16/sort-x.svg · PNG https://gentleface.com/png/line-soft/16/sort-x.png · https://gentleface.com/png/line-soft/32/sort-x.png · https://gentleface.com/png/line-soft/48/sort-x.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/sort-x.svg · PNG https://gentleface.com/png/line-sharp/16/sort-x.png · https://gentleface.com/png/line-sharp/32/sort-x.png · https://gentleface.com/png/line-sharp/48/sort-x.png
- solid-round: https://gentleface.com/svg/solid-round/16/sort-x.svg · PNG https://gentleface.com/png/solid-round/16/sort-x.png · https://gentleface.com/png/solid-round/32/sort-x.png · https://gentleface.com/png/solid-round/48/sort-x.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/sort-x.svg · PNG https://gentleface.com/png/solid-soft/16/sort-x.png · https://gentleface.com/png/solid-soft/32/sort-x.png · https://gentleface.com/png/solid-soft/48/sort-x.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/sort-x.svg · PNG https://gentleface.com/png/solid-sharp/16/sort-x.png · https://gentleface.com/png/solid-sharp/32/sort-x.png · https://gentleface.com/png/solid-sharp/48/sort-x.png

The SVG of every style: https://gentleface.com/icons/sort-x.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M4.146 2.146C4.244 2.049 4.362 2 4.5 2C4.638 2 4.756 2.049 4.854 2.146L7.854 5.146C7.953 5.246 8.003 5.364 8.003 5.5C8.003 5.636 7.953 5.754 7.854 5.854C7.754 5.953 7.636 6.003 7.5 6.003C7.364 6.003 7.246 5.953 7.146 5.854L5 3.707L5 12.5C5 12.641 4.952 12.759 4.856 12.856C4.759 12.952 4.641 13 4.5 13C4.359 13 4.241 12.952 4.144 12.856C4.048 12.759 4 12.641 4 12.5L4 3.707L1.854 5.854C1.756 5.951 1.638 6 1.5 6C1.362 6 1.244 5.951 1.146 5.854C1.049 5.756 1 5.638 1 5.5C1 5.362 1.049 5.244 1.146 5.146L4.146 2.146ZM10.144 2.144C10.241 2.048 10.359 2 10.5 2C10.641 2 10.759 2.048 10.856 2.144C10.952 2.241 11 2.359 11 2.5L11 5.5C11 5.641 10.952 5.759 10.856 5.856C10.759 5.952 10.641 6 10.5 6C10.359 6 10.241 5.952 10.144 5.856C10.048 5.759 10 5.641 10 5.5L10 2.5C10 2.359 10.048 2.241 10.144 2.144ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM9.146 9.146C8.951 9.342 8.951 9.658 9.146 9.854L10.793 11.5L9.146 13.146C8.951 13.342 8.951 13.658 9.146 13.854C9.342 14.049 9.658 14.049 9.854 13.854L11.5 12.207L13.146 13.854C13.342 14.049 13.658 14.049 13.854 13.854C14.049 13.658 14.049 13.342 13.854 13.146L12.207 11.5L13.854 9.854C14.049 9.658 14.049 9.342 13.854 9.146C13.658 8.951 13.342 8.951 13.146 9.146L11.5 10.793L9.854 9.146C9.658 8.951 9.342 8.951 9.146 9.146Z"/></svg>
```

### React

```tsx
// Gentleface "sort-x" (line-round), MIT. https://gentleface.com/icons/sort-x
import type { SVGProps } from 'react';

export function SortXIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M4.146 2.146C4.244 2.049 4.362 2 4.5 2C4.638 2 4.756 2.049 4.854 2.146L7.854 5.146C7.953 5.246 8.003 5.364 8.003 5.5C8.003 5.636 7.953 5.754 7.854 5.854C7.754 5.953 7.636 6.003 7.5 6.003C7.364 6.003 7.246 5.953 7.146 5.854L5 3.707L5 12.5C5 12.641 4.952 12.759 4.856 12.856C4.759 12.952 4.641 13 4.5 13C4.359 13 4.241 12.952 4.144 12.856C4.048 12.759 4 12.641 4 12.5L4 3.707L1.854 5.854C1.756 5.951 1.638 6 1.5 6C1.362 6 1.244 5.951 1.146 5.854C1.049 5.756 1 5.638 1 5.5C1 5.362 1.049 5.244 1.146 5.146L4.146 2.146ZM10.144 2.144C10.241 2.048 10.359 2 10.5 2C10.641 2 10.759 2.048 10.856 2.144C10.952 2.241 11 2.359 11 2.5L11 5.5C11 5.641 10.952 5.759 10.856 5.856C10.759 5.952 10.641 6 10.5 6C10.359 6 10.241 5.952 10.144 5.856C10.048 5.759 10 5.641 10 5.5L10 2.5C10 2.359 10.048 2.241 10.144 2.144ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM9.146 9.146C8.951 9.342 8.951 9.658 9.146 9.854L10.793 11.5L9.146 13.146C8.951 13.342 8.951 13.658 9.146 13.854C9.342 14.049 9.658 14.049 9.854 13.854L11.5 12.207L13.146 13.854C13.342 14.049 13.658 14.049 13.854 13.854C14.049 13.658 14.049 13.342 13.854 13.146L12.207 11.5L13.854 9.854C14.049 9.658 14.049 9.342 13.854 9.146C13.658 8.951 13.342 8.951 13.146 9.146L11.5 10.793L9.854 9.146C9.658 8.951 9.342 8.951 9.146 9.146Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "sort-x" (line-round), MIT. https://gentleface.com/icons/sort-x -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M4.146 2.146C4.244 2.049 4.362 2 4.5 2C4.638 2 4.756 2.049 4.854 2.146L7.854 5.146C7.953 5.246 8.003 5.364 8.003 5.5C8.003 5.636 7.953 5.754 7.854 5.854C7.754 5.953 7.636 6.003 7.5 6.003C7.364 6.003 7.246 5.953 7.146 5.854L5 3.707L5 12.5C5 12.641 4.952 12.759 4.856 12.856C4.759 12.952 4.641 13 4.5 13C4.359 13 4.241 12.952 4.144 12.856C4.048 12.759 4 12.641 4 12.5L4 3.707L1.854 5.854C1.756 5.951 1.638 6 1.5 6C1.362 6 1.244 5.951 1.146 5.854C1.049 5.756 1 5.638 1 5.5C1 5.362 1.049 5.244 1.146 5.146L4.146 2.146ZM10.144 2.144C10.241 2.048 10.359 2 10.5 2C10.641 2 10.759 2.048 10.856 2.144C10.952 2.241 11 2.359 11 2.5L11 5.5C11 5.641 10.952 5.759 10.856 5.856C10.759 5.952 10.641 6 10.5 6C10.359 6 10.241 5.952 10.144 5.856C10.048 5.759 10 5.641 10 5.5L10 2.5C10 2.359 10.048 2.241 10.144 2.144ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM9.146 9.146C8.951 9.342 8.951 9.658 9.146 9.854L10.793 11.5L9.146 13.146C8.951 13.342 8.951 13.658 9.146 13.854C9.342 14.049 9.658 14.049 9.854 13.854L11.5 12.207L13.146 13.854C13.342 14.049 13.658 14.049 13.854 13.854C14.049 13.658 14.049 13.342 13.854 13.146L12.207 11.5L13.854 9.854C14.049 9.658 14.049 9.342 13.854 9.146C13.658 8.951 13.342 8.951 13.146 9.146L11.5 10.793L9.854 9.146C9.658 8.951 9.342 8.951 9.146 9.146Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "sort-x" (line-round), MIT. https://gentleface.com/icons/sort-x -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M4.146 2.146C4.244 2.049 4.362 2 4.5 2C4.638 2 4.756 2.049 4.854 2.146L7.854 5.146C7.953 5.246 8.003 5.364 8.003 5.5C8.003 5.636 7.953 5.754 7.854 5.854C7.754 5.953 7.636 6.003 7.5 6.003C7.364 6.003 7.246 5.953 7.146 5.854L5 3.707L5 12.5C5 12.641 4.952 12.759 4.856 12.856C4.759 12.952 4.641 13 4.5 13C4.359 13 4.241 12.952 4.144 12.856C4.048 12.759 4 12.641 4 12.5L4 3.707L1.854 5.854C1.756 5.951 1.638 6 1.5 6C1.362 6 1.244 5.951 1.146 5.854C1.049 5.756 1 5.638 1 5.5C1 5.362 1.049 5.244 1.146 5.146L4.146 2.146ZM10.144 2.144C10.241 2.048 10.359 2 10.5 2C10.641 2 10.759 2.048 10.856 2.144C10.952 2.241 11 2.359 11 2.5L11 5.5C11 5.641 10.952 5.759 10.856 5.856C10.759 5.952 10.641 6 10.5 6C10.359 6 10.241 5.952 10.144 5.856C10.048 5.759 10 5.641 10 5.5L10 2.5C10 2.359 10.048 2.241 10.144 2.144ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM9.146 9.146C8.951 9.342 8.951 9.658 9.146 9.854L10.793 11.5L9.146 13.146C8.951 13.342 8.951 13.658 9.146 13.854C9.342 14.049 9.658 14.049 9.854 13.854L11.5 12.207L13.146 13.854C13.342 14.049 13.658 14.049 13.854 13.854C14.049 13.658 14.049 13.342 13.854 13.146L12.207 11.5L13.854 9.854C14.049 9.658 14.049 9.342 13.854 9.146C13.658 8.951 13.342 8.951 13.146 9.146L11.5 10.793L9.854 9.146C9.658 8.951 9.342 8.951 9.146 9.146Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "sort-x" (line-round), MIT. https://gentleface.com/icons/sort-x. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/sort-x.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "sort-x" (line-round), MIT. https://gentleface.com/icons/sort-x. Takes the text color. */
.icon-sort-x {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M4.146 2.146C4.244 2.049 4.362 2 4.5 2C4.638 2 4.756 2.049 4.854 2.146L7.854 5.146C7.953 5.246 8.003 5.364 8.003 5.5C8.003 5.636 7.953 5.754 7.854 5.854C7.754 5.953 7.636 6.003 7.5 6.003C7.364 6.003 7.246 5.953 7.146 5.854L5 3.707L5 12.5C5 12.641 4.952 12.759 4.856 12.856C4.759 12.952 4.641 13 4.5 13C4.359 13 4.241 12.952 4.144 12.856C4.048 12.759 4 12.641 4 12.5L4 3.707L1.854 5.854C1.756 5.951 1.638 6 1.5 6C1.362 6 1.244 5.951 1.146 5.854C1.049 5.756 1 5.638 1 5.5C1 5.362 1.049 5.244 1.146 5.146L4.146 2.146ZM10.144 2.144C10.241 2.048 10.359 2 10.5 2C10.641 2 10.759 2.048 10.856 2.144C10.952 2.241 11 2.359 11 2.5L11 5.5C11 5.641 10.952 5.759 10.856 5.856C10.759 5.952 10.641 6 10.5 6C10.359 6 10.241 5.952 10.144 5.856C10.048 5.759 10 5.641 10 5.5L10 2.5C10 2.359 10.048 2.241 10.144 2.144ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM9.146 9.146C8.951 9.342 8.951 9.658 9.146 9.854L10.793 11.5L9.146 13.146C8.951 13.342 8.951 13.658 9.146 13.854C9.342 14.049 9.658 14.049 9.854 13.854L11.5 12.207L13.146 13.854C13.342 14.049 13.658 14.049 13.854 13.854C14.049 13.658 14.049 13.342 13.854 13.146L12.207 11.5L13.854 9.854C14.049 9.658 14.049 9.342 13.854 9.146C13.658 8.951 13.342 8.951 13.146 9.146L11.5 10.793L9.854 9.146C9.658 8.951 9.342 8.951 9.146 9.146Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M4.146 2.146C4.244 2.049 4.362 2 4.5 2C4.638 2 4.756 2.049 4.854 2.146L7.854 5.146C7.953 5.246 8.003 5.364 8.003 5.5C8.003 5.636 7.953 5.754 7.854 5.854C7.754 5.953 7.636 6.003 7.5 6.003C7.364 6.003 7.246 5.953 7.146 5.854L5 3.707L5 12.5C5 12.641 4.952 12.759 4.856 12.856C4.759 12.952 4.641 13 4.5 13C4.359 13 4.241 12.952 4.144 12.856C4.048 12.759 4 12.641 4 12.5L4 3.707L1.854 5.854C1.756 5.951 1.638 6 1.5 6C1.362 6 1.244 5.951 1.146 5.854C1.049 5.756 1 5.638 1 5.5C1 5.362 1.049 5.244 1.146 5.146L4.146 2.146ZM10.144 2.144C10.241 2.048 10.359 2 10.5 2C10.641 2 10.759 2.048 10.856 2.144C10.952 2.241 11 2.359 11 2.5L11 5.5C11 5.641 10.952 5.759 10.856 5.856C10.759 5.952 10.641 6 10.5 6C10.359 6 10.241 5.952 10.144 5.856C10.048 5.759 10 5.641 10 5.5L10 2.5C10 2.359 10.048 2.241 10.144 2.144ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM9.146 9.146C8.951 9.342 8.951 9.658 9.146 9.854L10.793 11.5L9.146 13.146C8.951 13.342 8.951 13.658 9.146 13.854C9.342 14.049 9.658 14.049 9.854 13.854L11.5 12.207L13.146 13.854C13.342 14.049 13.658 14.049 13.854 13.854C14.049 13.658 14.049 13.342 13.854 13.146L12.207 11.5L13.854 9.854C14.049 9.658 14.049 9.342 13.854 9.146C13.658 8.951 13.342 8.951 13.146 9.146L11.5 10.793L9.854 9.146C9.658 8.951 9.342 8.951 9.146 9.146Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M4.146 2.146C4.244 2.049 4.362 2 4.5 2C4.638 2 4.756 2.049 4.854 2.146L7.854 5.146C7.953 5.246 8.003 5.364 8.003 5.5C8.003 5.636 7.953 5.754 7.854 5.854C7.754 5.953 7.636 6.003 7.5 6.003C7.364 6.003 7.246 5.953 7.146 5.854L5 3.707L5 12.5C5 12.641 4.952 12.759 4.856 12.856C4.759 12.952 4.641 13 4.5 13C4.359 13 4.241 12.952 4.144 12.856C4.048 12.759 4 12.641 4 12.5L4 3.707L1.854 5.854C1.756 5.951 1.638 6 1.5 6C1.362 6 1.244 5.951 1.146 5.854C1.049 5.756 1 5.638 1 5.5C1 5.362 1.049 5.244 1.146 5.146L4.146 2.146ZM10.144 2.144C10.241 2.048 10.359 2 10.5 2C10.641 2 10.759 2.048 10.856 2.144C10.952 2.241 11 2.359 11 2.5L11 5.5C11 5.641 10.952 5.759 10.856 5.856C10.759 5.952 10.641 6 10.5 6C10.359 6 10.241 5.952 10.144 5.856C10.048 5.759 10 5.641 10 5.5L10 2.5C10 2.359 10.048 2.241 10.144 2.144ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM9.146 9.146C8.951 9.342 8.951 9.658 9.146 9.854L10.793 11.5L9.146 13.146C8.951 13.342 8.951 13.658 9.146 13.854C9.342 14.049 9.658 14.049 9.854 13.854L11.5 12.207L13.146 13.854C13.342 14.049 13.658 14.049 13.854 13.854C14.049 13.658 14.049 13.342 13.854 13.146L12.207 11.5L13.854 9.854C14.049 9.658 14.049 9.342 13.854 9.146C13.658 8.951 13.342 8.951 13.146 9.146L11.5 10.793L9.854 9.146C9.658 8.951 9.342 8.951 9.146 9.146Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "sort-x" (line-round), MIT. https://gentleface.com/icons/sort-x
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#sort-x"/></svg>
```

### SwiftUI

```swift
// Gentleface "sort-x" (line-round), MIT. https://gentleface.com/icons/sort-x
import SwiftUI

struct SortXIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 4.146, y: 2.146))
        p.addCurve(to: CGPoint(x: 4.5, y: 2), control1: CGPoint(x: 4.244, y: 2.049), control2: CGPoint(x: 4.362, y: 2))
        p.addCurve(to: CGPoint(x: 4.854, y: 2.146), control1: CGPoint(x: 4.638, y: 2), control2: CGPoint(x: 4.756, y: 2.049))
        p.addLine(to: CGPoint(x: 7.854, y: 5.146))
        p.addCurve(to: CGPoint(x: 8.003, y: 5.5), control1: CGPoint(x: 7.953, y: 5.246), control2: CGPoint(x: 8.003, y: 5.364))
        p.addCurve(to: CGPoint(x: 7.854, y: 5.854), control1: CGPoint(x: 8.003, y: 5.636), control2: CGPoint(x: 7.953, y: 5.754))
        p.addCurve(to: CGPoint(x: 7.5, y: 6.003), control1: CGPoint(x: 7.754, y: 5.953), control2: CGPoint(x: 7.636, y: 6.003))
        p.addCurve(to: CGPoint(x: 7.146, y: 5.854), control1: CGPoint(x: 7.364, y: 6.003), control2: CGPoint(x: 7.246, y: 5.953))
        p.addLine(to: CGPoint(x: 5, y: 3.707))
        p.addLine(to: CGPoint(x: 5, y: 12.5))
        p.addCurve(to: CGPoint(x: 4.856, y: 12.856), control1: CGPoint(x: 5, y: 12.641), control2: CGPoint(x: 4.952, y: 12.759))
        p.addCurve(to: CGPoint(x: 4.5, y: 13), control1: CGPoint(x: 4.759, y: 12.952), control2: CGPoint(x: 4.641, y: 13))
        p.addCurve(to: CGPoint(x: 4.144, y: 12.856), control1: CGPoint(x: 4.359, y: 13), control2: CGPoint(x: 4.241, y: 12.952))
        p.addCurve(to: CGPoint(x: 4, y: 12.5), control1: CGPoint(x: 4.048, y: 12.759), control2: CGPoint(x: 4, y: 12.641))
        p.addLine(to: CGPoint(x: 4, y: 3.707))
        p.addLine(to: CGPoint(x: 1.854, y: 5.854))
        p.addCurve(to: CGPoint(x: 1.5, y: 6), control1: CGPoint(x: 1.756, y: 5.951), control2: CGPoint(x: 1.638, y: 6))
        p.addCurve(to: CGPoint(x: 1.146, y: 5.854), control1: CGPoint(x: 1.362, y: 6), control2: CGPoint(x: 1.244, y: 5.951))
        p.addCurve(to: CGPoint(x: 1, y: 5.5), control1: CGPoint(x: 1.049, y: 5.756), control2: CGPoint(x: 1, y: 5.638))
        p.addCurve(to: CGPoint(x: 1.146, y: 5.146), control1: CGPoint(x: 1, y: 5.362), control2: CGPoint(x: 1.049, y: 5.244))
        p.addLine(to: CGPoint(x: 4.146, y: 2.146))
        p.closeSubpath()
        p.move(to: CGPoint(x: 10.144, y: 2.144))
        p.addCurve(to: CGPoint(x: 10.5, y: 2), control1: CGPoint(x: 10.241, y: 2.048), control2: CGPoint(x: 10.359, y: 2))
        p.addCurve(to: CGPoint(x: 10.856, y: 2.144), control1: CGPoint(x: 10.641, y: 2), control2: CGPoint(x: 10.759, y: 2.048))
        p.addCurve(to: CGPoint(x: 11, y: 2.5), control1: CGPoint(x: 10.952, y: 2.241), control2: CGPoint(x: 11, y: 2.359))
        p.addLine(to: CGPoint(x: 11, y: 5.5))
        p.addCurve(to: CGPoint(x: 10.856, y: 5.856), control1: CGPoint(x: 11, y: 5.641), control2: CGPoint(x: 10.952, y: 5.759))
        p.addCurve(to: CGPoint(x: 10.5, y: 6), control1: CGPoint(x: 10.759, y: 5.952), control2: CGPoint(x: 10.641, y: 6))
        p.addCurve(to: CGPoint(x: 10.144, y: 5.856), control1: CGPoint(x: 10.359, y: 6), control2: CGPoint(x: 10.241, y: 5.952))
        p.addCurve(to: CGPoint(x: 10, y: 5.5), control1: CGPoint(x: 10.048, y: 5.759), control2: CGPoint(x: 10, y: 5.641))
        p.addLine(to: CGPoint(x: 10, y: 2.5))
        p.addCurve(to: CGPoint(x: 10.144, y: 2.144), control1: CGPoint(x: 10, y: 2.359), control2: CGPoint(x: 10.048, y: 2.241))
        p.closeSubpath()
        p.move(to: CGPoint(x: 13.156, y: 7.316))
        p.addCurve(to: CGPoint(x: 14.682, y: 8.318), control1: CGPoint(x: 13.734, y: 7.545), control2: CGPoint(x: 14.243, y: 7.879))
        p.addCurve(to: CGPoint(x: 15.684, y: 9.844), control1: CGPoint(x: 15.121, y: 8.757), control2: CGPoint(x: 15.455, y: 9.266))
        p.addCurve(to: CGPoint(x: 16, y: 11.5), control1: CGPoint(x: 15.895, y: 10.376), control2: CGPoint(x: 16, y: 10.928))
        p.addCurve(to: CGPoint(x: 15.684, y: 13.156), control1: CGPoint(x: 16, y: 12.072), control2: CGPoint(x: 15.895, y: 12.624))
        p.addCurve(to: CGPoint(x: 14.682, y: 14.682), control1: CGPoint(x: 15.455, y: 13.734), control2: CGPoint(x: 15.121, y: 14.243))
        p.addCurve(to: CGPoint(x: 13.156, y: 15.684), control1: CGPoint(x: 14.243, y: 15.121), control2: CGPoint(x: 13.734, y: 15.455))
        p.addCurve(to: CGPoint(x: 11.5, y: 16), control1: CGPoint(x: 12.624, y: 15.895), control2: CGPoint(x: 12.072, y: 16))
        p.addCurve(to: CGPoint(x: 9.844, y: 15.684), control1: CGPoint(x: 10.928, y: 16), control2: CGPoint(x: 10.376, y: 15.895))
        p.addCurve(to: CGPoint(x: 8.318, y: 14.682), control1: CGPoint(x: 9.266, y: 15.455), control2: CGPoint(x: 8.757, y: 15.121))
        p.addCurve(to: CGPoint(x: 7.316, y: 13.156), control1: CGPoint(x: 7.879, y: 14.243), control2: CGPoint(x: 7.545, y: 13.734))
        p.addCurve(to: CGPoint(x: 7, y: 11.5), control1: CGPoint(x: 7.105, y: 12.624), control2: CGPoint(x: 7, y: 12.072))
        p.addCurve(to: CGPoint(x: 7.316, y: 9.844), control1: CGPoint(x: 7, y: 10.928), control2: CGPoint(x: 7.105, y: 10.376))
        p.addCurve(to: CGPoint(x: 8.318, y: 8.318), control1: CGPoint(x: 7.545, y: 9.266), control2: CGPoint(x: 7.879, y: 8.757))
        p.addCurve(to: CGPoint(x: 9.844, y: 7.316), control1: CGPoint(x: 8.757, y: 7.879), control2: CGPoint(x: 9.266, y: 7.545))
        p.addCurve(to: CGPoint(x: 11.5, y: 7), control1: CGPoint(x: 10.376, y: 7.105), control2: CGPoint(x: 10.928, y: 7))
        p.addCurve(to: CGPoint(x: 13.156, y: 7.316), control1: CGPoint(x: 12.072, y: 7), control2: CGPoint(x: 12.624, y: 7.105))
        p.closeSubpath()
        p.move(to: CGPoint(x: 9.146, y: 9.146))
        p.addCurve(to: CGPoint(x: 9.146, y: 9.854), control1: CGPoint(x: 8.951, y: 9.342), control2: CGPoint(x: 8.951, y: 9.658))
        p.addLine(to: CGPoint(x: 10.793, y: 11.5))
        p.addLine(to: CGPoint(x: 9.146, y: 13.146))
        p.addCurve(to: CGPoint(x: 9.146, y: 13.854), control1: CGPoint(x: 8.951, y: 13.342), control2: CGPoint(x: 8.951, y: 13.658))
        p.addCurve(to: CGPoint(x: 9.854, y: 13.854), control1: CGPoint(x: 9.342, y: 14.049), control2: CGPoint(x: 9.658, y: 14.049))
        p.addLine(to: CGPoint(x: 11.5, y: 12.207))
        p.addLine(to: CGPoint(x: 13.146, y: 13.854))
        p.addCurve(to: CGPoint(x: 13.854, y: 13.854), control1: CGPoint(x: 13.342, y: 14.049), control2: CGPoint(x: 13.658, y: 14.049))
        p.addCurve(to: CGPoint(x: 13.854, y: 13.146), control1: CGPoint(x: 14.049, y: 13.658), control2: CGPoint(x: 14.049, y: 13.342))
        p.addLine(to: CGPoint(x: 12.207, y: 11.5))
        p.addLine(to: CGPoint(x: 13.854, y: 9.854))
        p.addCurve(to: CGPoint(x: 13.854, y: 9.146), control1: CGPoint(x: 14.049, y: 9.658), control2: CGPoint(x: 14.049, y: 9.342))
        p.addCurve(to: CGPoint(x: 13.146, y: 9.146), control1: CGPoint(x: 13.658, y: 8.951), control2: CGPoint(x: 13.342, y: 8.951))
        p.addLine(to: CGPoint(x: 11.5, y: 10.793))
        p.addLine(to: CGPoint(x: 9.854, y: 9.146))
        p.addCurve(to: CGPoint(x: 9.146, y: 9.146), control1: CGPoint(x: 9.658, y: 8.951), control2: CGPoint(x: 9.342, y: 8.951))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// SortXIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "sort-x" (line-round), MIT. https://gentleface.com/icons/sort-x
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val SortXIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "sort-x", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M4.146 2.146C4.244 2.049 4.362 2 4.5 2C4.638 2 4.756 2.049 4.854 2.146L7.854 5.146C7.953 5.246 8.003 5.364 8.003 5.5C8.003 5.636 7.953 5.754 7.854 5.854C7.754 5.953 7.636 6.003 7.5 6.003C7.364 6.003 7.246 5.953 7.146 5.854L5 3.707L5 12.5C5 12.641 4.952 12.759 4.856 12.856C4.759 12.952 4.641 13 4.5 13C4.359 13 4.241 12.952 4.144 12.856C4.048 12.759 4 12.641 4 12.5L4 3.707L1.854 5.854C1.756 5.951 1.638 6 1.5 6C1.362 6 1.244 5.951 1.146 5.854C1.049 5.756 1 5.638 1 5.5C1 5.362 1.049 5.244 1.146 5.146L4.146 2.146ZM10.144 2.144C10.241 2.048 10.359 2 10.5 2C10.641 2 10.759 2.048 10.856 2.144C10.952 2.241 11 2.359 11 2.5L11 5.5C11 5.641 10.952 5.759 10.856 5.856C10.759 5.952 10.641 6 10.5 6C10.359 6 10.241 5.952 10.144 5.856C10.048 5.759 10 5.641 10 5.5L10 2.5C10 2.359 10.048 2.241 10.144 2.144ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM9.146 9.146C8.951 9.342 8.951 9.658 9.146 9.854L10.793 11.5L9.146 13.146C8.951 13.342 8.951 13.658 9.146 13.854C9.342 14.049 9.658 14.049 9.854 13.854L11.5 12.207L13.146 13.854C13.342 14.049 13.658 14.049 13.854 13.854C14.049 13.658 14.049 13.342 13.854 13.146L12.207 11.5L13.854 9.854C14.049 9.658 14.049 9.342 13.854 9.146C13.658 8.951 13.342 8.951 13.146 9.146L11.5 10.793L9.854 9.146C9.658 8.951 9.342 8.951 9.146 9.146Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(SortXIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_sort_x.xml · Gentleface "sort-x" (line-round), MIT. https://gentleface.com/icons/sort-x -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M4.146 2.146C4.244 2.049 4.362 2 4.5 2C4.638 2 4.756 2.049 4.854 2.146L7.854 5.146C7.953 5.246 8.003 5.364 8.003 5.5C8.003 5.636 7.953 5.754 7.854 5.854C7.754 5.953 7.636 6.003 7.5 6.003C7.364 6.003 7.246 5.953 7.146 5.854L5 3.707L5 12.5C5 12.641 4.952 12.759 4.856 12.856C4.759 12.952 4.641 13 4.5 13C4.359 13 4.241 12.952 4.144 12.856C4.048 12.759 4 12.641 4 12.5L4 3.707L1.854 5.854C1.756 5.951 1.638 6 1.5 6C1.362 6 1.244 5.951 1.146 5.854C1.049 5.756 1 5.638 1 5.5C1 5.362 1.049 5.244 1.146 5.146L4.146 2.146ZM10.144 2.144C10.241 2.048 10.359 2 10.5 2C10.641 2 10.759 2.048 10.856 2.144C10.952 2.241 11 2.359 11 2.5L11 5.5C11 5.641 10.952 5.759 10.856 5.856C10.759 5.952 10.641 6 10.5 6C10.359 6 10.241 5.952 10.144 5.856C10.048 5.759 10 5.641 10 5.5L10 2.5C10 2.359 10.048 2.241 10.144 2.144ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM9.146 9.146C8.951 9.342 8.951 9.658 9.146 9.854L10.793 11.5L9.146 13.146C8.951 13.342 8.951 13.658 9.146 13.854C9.342 14.049 9.658 14.049 9.854 13.854L11.5 12.207L13.146 13.854C13.342 14.049 13.658 14.049 13.854 13.854C14.049 13.658 14.049 13.342 13.854 13.146L12.207 11.5L13.854 9.854C14.049 9.658 14.049 9.342 13.854 9.146C13.658 8.951 13.342 8.951 13.146 9.146L11.5 10.793L9.854 9.146C9.658 8.951 9.342 8.951 9.146 9.146Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "sort-x" (line-round), MIT. https://gentleface.com/icons/sort-x
import 'package:flutter/widgets.dart';

class SortXIcon extends StatelessWidget {
  const SortXIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _SortXIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _SortXIconPainter extends CustomPainter {
  _SortXIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(4.146, 2.146)
      ..cubicTo(4.244, 2.049, 4.362, 2, 4.5, 2)
      ..cubicTo(4.638, 2, 4.756, 2.049, 4.854, 2.146)
      ..lineTo(7.854, 5.146)
      ..cubicTo(7.953, 5.246, 8.003, 5.364, 8.003, 5.5)
      ..cubicTo(8.003, 5.636, 7.953, 5.754, 7.854, 5.854)
      ..cubicTo(7.754, 5.953, 7.636, 6.003, 7.5, 6.003)
      ..cubicTo(7.364, 6.003, 7.246, 5.953, 7.146, 5.854)
      ..lineTo(5, 3.707)
      ..lineTo(5, 12.5)
      ..cubicTo(5, 12.641, 4.952, 12.759, 4.856, 12.856)
      ..cubicTo(4.759, 12.952, 4.641, 13, 4.5, 13)
      ..cubicTo(4.359, 13, 4.241, 12.952, 4.144, 12.856)
      ..cubicTo(4.048, 12.759, 4, 12.641, 4, 12.5)
      ..lineTo(4, 3.707)
      ..lineTo(1.854, 5.854)
      ..cubicTo(1.756, 5.951, 1.638, 6, 1.5, 6)
      ..cubicTo(1.362, 6, 1.244, 5.951, 1.146, 5.854)
      ..cubicTo(1.049, 5.756, 1, 5.638, 1, 5.5)
      ..cubicTo(1, 5.362, 1.049, 5.244, 1.146, 5.146)
      ..lineTo(4.146, 2.146)
      ..close()
      ..moveTo(10.144, 2.144)
      ..cubicTo(10.241, 2.048, 10.359, 2, 10.5, 2)
      ..cubicTo(10.641, 2, 10.759, 2.048, 10.856, 2.144)
      ..cubicTo(10.952, 2.241, 11, 2.359, 11, 2.5)
      ..lineTo(11, 5.5)
      ..cubicTo(11, 5.641, 10.952, 5.759, 10.856, 5.856)
      ..cubicTo(10.759, 5.952, 10.641, 6, 10.5, 6)
      ..cubicTo(10.359, 6, 10.241, 5.952, 10.144, 5.856)
      ..cubicTo(10.048, 5.759, 10, 5.641, 10, 5.5)
      ..lineTo(10, 2.5)
      ..cubicTo(10, 2.359, 10.048, 2.241, 10.144, 2.144)
      ..close()
      ..moveTo(13.156, 7.316)
      ..cubicTo(13.734, 7.545, 14.243, 7.879, 14.682, 8.318)
      ..cubicTo(15.121, 8.757, 15.455, 9.266, 15.684, 9.844)
      ..cubicTo(15.895, 10.376, 16, 10.928, 16, 11.5)
      ..cubicTo(16, 12.072, 15.895, 12.624, 15.684, 13.156)
      ..cubicTo(15.455, 13.734, 15.121, 14.243, 14.682, 14.682)
      ..cubicTo(14.243, 15.121, 13.734, 15.455, 13.156, 15.684)
      ..cubicTo(12.624, 15.895, 12.072, 16, 11.5, 16)
      ..cubicTo(10.928, 16, 10.376, 15.895, 9.844, 15.684)
      ..cubicTo(9.266, 15.455, 8.757, 15.121, 8.318, 14.682)
      ..cubicTo(7.879, 14.243, 7.545, 13.734, 7.316, 13.156)
      ..cubicTo(7.105, 12.624, 7, 12.072, 7, 11.5)
      ..cubicTo(7, 10.928, 7.105, 10.376, 7.316, 9.844)
      ..cubicTo(7.545, 9.266, 7.879, 8.757, 8.318, 8.318)
      ..cubicTo(8.757, 7.879, 9.266, 7.545, 9.844, 7.316)
      ..cubicTo(10.376, 7.105, 10.928, 7, 11.5, 7)
      ..cubicTo(12.072, 7, 12.624, 7.105, 13.156, 7.316)
      ..close()
      ..moveTo(9.146, 9.146)
      ..cubicTo(8.951, 9.342, 8.951, 9.658, 9.146, 9.854)
      ..lineTo(10.793, 11.5)
      ..lineTo(9.146, 13.146)
      ..cubicTo(8.951, 13.342, 8.951, 13.658, 9.146, 13.854)
      ..cubicTo(9.342, 14.049, 9.658, 14.049, 9.854, 13.854)
      ..lineTo(11.5, 12.207)
      ..lineTo(13.146, 13.854)
      ..cubicTo(13.342, 14.049, 13.658, 14.049, 13.854, 13.854)
      ..cubicTo(14.049, 13.658, 14.049, 13.342, 13.854, 13.146)
      ..lineTo(12.207, 11.5)
      ..lineTo(13.854, 9.854)
      ..cubicTo(14.049, 9.658, 14.049, 9.342, 13.854, 9.146)
      ..cubicTo(13.658, 8.951, 13.342, 8.951, 13.146, 9.146)
      ..lineTo(11.5, 10.793)
      ..lineTo(9.854, 9.146)
      ..cubicTo(9.658, 8.951, 9.342, 8.951, 9.146, 9.146)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_SortXIconPainter old) => old.color != color;
}
```
