Problem: Implementation in sortAST.ts only moves the $defs keyword block to the beginning of the keyword; that's not sorting the individual schema inside $defs based on their dependencies.
Expected Outcomes: Ensure $defsschemas are rendered in dependency order to handle chained and recursive references correctly.
Problem: Implementation in
sortAST.tsonly moves the$defskeyword block to the beginning of the keyword; that's not sorting the individual schema inside$defsbased on their dependencies.Expected Outcomes: Ensure
$defsschemas are rendered in dependency order to handle chained and recursive references correctly.