json-sort 1.1.6

A command-line tool that sorts JSON files with a consistent key order, making them easier to read and maintain.
Documentation
{ inputs, withSystem, ... }:
{
  imports = [
    inputs.pkgs-by-name-for-flake-parts.flakeModule
  ];

  perSystem =
    { config, ... }:
    {
      pkgsDirectory = ../pkgs;
      packages.default = config.packages.json-sort;
    };

  flake = {
    overlays.default =
      final: prev:
      withSystem prev.stdenv.hostPlatform.system (
        { config, ... }:
        {
          inherit (config.packages) json-sort;
        }
      );
  };
}