gentleface

Gentleface › Actions › sort

sort icon

Sort: sort, reorder, sort by, sort order. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

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.146ZM13.146 9.146C13.246 9.047 13.364 8.997 13.5 8.997C13.636 8.997 13.754 9.047 13.854 9.146C13.953 9.246 14.003 9.364 14.003 9.5C14.003 9.636 13.953 9.754 13.854 9.854L10.854 12.854C10.754 12.953 10.636 13.003 10.5 13.003C10.364 13.003 10.246 12.953 10.146 12.854L7.146 9.854C7.047 9.754 6.997 9.636 6.997 9.5C6.997 9.364 7.047 9.246 7.146 9.146C7.244 9.049 7.362 9 7.5 9C7.638 9 7.756 9.049 7.854 9.146L10 11.293L10 2.5C10 2.359 10.048 2.241 10.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 11.293L13.146 9.146Z"/></svg>
React
// Gentleface "sort" (line-round), MIT. https://gentleface.com/icons/sort
import type { SVGProps } from 'react';

export function SortIcon(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.146ZM13.146 9.146C13.246 9.047 13.364 8.997 13.5 8.997C13.636 8.997 13.754 9.047 13.854 9.146C13.953 9.246 14.003 9.364 14.003 9.5C14.003 9.636 13.953 9.754 13.854 9.854L10.854 12.854C10.754 12.953 10.636 13.003 10.5 13.003C10.364 13.003 10.246 12.953 10.146 12.854L7.146 9.854C7.047 9.754 6.997 9.636 6.997 9.5C6.997 9.364 7.047 9.246 7.146 9.146C7.244 9.049 7.362 9 7.5 9C7.638 9 7.756 9.049 7.854 9.146L10 11.293L10 2.5C10 2.359 10.048 2.241 10.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 11.293L13.146 9.146Z" />
    </svg>
  );
}
Vue
Vue: see /icons/sort.md
Svelte
Svelte: see /icons/sort.md
HTML img
HTML img: see /icons/sort.md
CSS
CSS: see /icons/sort.md
Data URL
Data URL: see /icons/sort.md
Sprite
Sprite: see /icons/sort.md
SwiftUI
SwiftUI: see /icons/sort.md
Compose
Compose: see /icons/sort.md
Android XML
Android XML: see /icons/sort.md
Flutter
Flutter: see /icons/sort.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. 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. More in how to use.

Meaning

Use it for
sort, reorder, sort by, sort order
Alternatives
  • sort-ascending: the current order is ascending
  • sort-descending: the current order is descending
  • arrow-down-a-z: alphabetical order
  • reorder: manual rearranging by the user, e.g. move up or down (rearrange); sort orders by a key
Don’t confuse with
  • arrow-up-down: arrow-up-down swaps two items vertically; it does not sort
  • filter: filter narrows the results; sort orders them
Also fits
  • rearrange: order by a key such as name or date
  • swap vertical: order a list by a key (sort)
  • group by: sort the rows (sort)
Not for
  • filter (use filter): sort orders the results; filter narrows them
  • dropdown (use chevrons-up-down): sort orders a list by a key (sort)
Tags
sort, order, arrange, up-down, arrows, ascending, descending
Category
Actions
Component name
SortIcon
History
  • added

Family 3

More actions icons

For agents

Metadata: /icons/sort.json · Markdown: /icons/sort.md · SVG: https://gentleface.com/svg/{style}/16/sort.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/sort.png

Feedback