Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Bug: When I select values in a YAML list then they are not sorted properly

Open
#26 1 comment 1 reaction 1 assignee View on GitHub

Nobody has claimed this yet.

Assessment

This issue has not been assessed yet.

Description

This is my YAML file:

resourceServers:
  - allow_offline_access: true
    enforce_policies: true
    identifier: https://bennycode.com/
    name: Logical API
    scopes:
      - value: abc:read
      - value: abc:manage
      - value: abc:edit
      - value: abc:view

When I select the values in the "scopes" section and try to sort them, then these are not sorted.

I want this:

      - value: abc:read
      - value: abc:manage
      - value: abc:edit
      - value: abc:view

To become this:

      - value: abc:edit
      - value: abc:manage
      - value: abc:read
      - value: abc:view

It works when being sorted in a .txt file but not in a .yaml file.

Dominant language
TypeScript
Stars
9
Forks
3
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bennycode/sort-everything

All issues in bennycode/sort-everything

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.