Revert "flip role order"

This reverts commit 175144cc7a.
This commit is contained in:
41666 2023-02-19 11:45:30 -05:00
parent 175144cc7a
commit dec4aa9619
4 changed files with 4 additions and 32 deletions

View file

@ -1,6 +1,6 @@
import { Role } from '@roleypoly/design-system/atoms/role';
import { AmbientLarge, LargeText } from '@roleypoly/design-system/atoms/typography';
import { sortByReverse } from '@roleypoly/misc-utils/sortBy';
import { sortBy } from '@roleypoly/misc-utils/sortBy';
import { Category as RPCCategory, Role as RPCRole, RoleSafety } from '@roleypoly/types';
import * as React from 'react';
import ReactTooltip from 'react-tooltip';
@ -47,7 +47,7 @@ export const PickerCategory = (props: CategoryProps) => (
)}
</Head>
<Category>
{sortByReverse(props.roles, 'position').map((role, idx) => (
{sortBy(props.roles, 'position').map((role, idx) => (
<Container key={idx}>
<Role
role={role}