message: docs: sort sidebar collections by order then title
diff: @@ -4,8 +4,7 @@ import { graphql, useStaticQuery } from "gatsby"
  import { Box, Heading, Badge } from "@chakra-ui/core"
  import { ComponentLink, TopNavLink } from "./nav-link"
  -const sortByOrder = sortBy(["frontmatter.order"])
  -const sortByTitle = sortBy(["frontmatter.title"])
  +const sortNodes = sortBy(["frontmatter.order", "frontmatter.title"])
  const useLinksQuery = () => {
  return useStaticQuery(
  @@ -28,6 +27,7 @@ const useLinksQuery = () => {
  nodes {
  frontmatter {
  title
  + order
  }
  fields {
  slug
  @@ -40,6 +40,7 @@ const useLinksQuery = () => {
  nodes {
  frontmatter {
  title
  + order
  }
  fields {
  slug
  @@ -50,6 +51,7 @@ const useLinksQuery = () => {
  nodes {
  frontmatter {
  title
  + order
  }
  fields {
  slug
  @@ -63,7 +65,7 @@ const useLinksQuery = () => {
  const MainLinks = () => {
  const { main } = useLinksQuery()
  - const nodes = sortByOrder(main.nodes)
  + const nodes = sortNodes(main.nodes)
  return nodes.map(({ frontmatter, fields }) => (
  <TopNavLink key={frontmatter.title} href={fields.slug}>
  @@ -74,7 +76,7 @@ const MainLinks = () => {
  const ComponentLinks = () => {
  const { components } = useLinksQuery()
  - const nodes = sortByTitle(components.nodes)
  + const nodes = sortNodes(components.nodes)
  return nodes.map(({ frontmatter: { title }, fields: { slug } }) => (
  <ComponentLink key={title} href={slug}>
  @@ -85,7 +87,7 @@ const ComponentLinks = () => {
  const UtilitiesLinks = () => {
  const { utilities } = useLinksQuery()
  - const nodes = sortByTitle(utilities.nodes)
  + const nodes = sortNodes(utilities.nodes)
  return nodes.map(({ frontmatter, fields }) => (
  <ComponentLink key={frontmatter.title} href={fields.slug}>
  @@ -96,7 +98,7 @@ const UtilitiesLinks = () => {
  const ThemingLinks = () => {
  const { theming } = useLinksQuery()
  - const nodes = sortByOrder(theming.nodes)
  + const nodes = sortNodes(theming.nodes)
  return nodes.map(({ frontmatter, fields }) => (
  <ComponentLink key={frontmatter.title} href={fields.slug}>
  