graph TD
A[TShirtRanker Start] --> B[Receive Filtered Listings]
subgraph SILO1[Load & Sort]
B --> C[SKILL #223: Sort Listings]
C --> D[Apply Sort Criteria]
D --> |Primary| E[Sort by BSR]
D --> |Secondary| F[Sort by Rating]
D --> |Tertiary| G[Sort by Review Count]
D --> |Quaternary| H[Sort by Price]
E & F & G & H --> I[Generate Sorted Array]
end
subgraph SILO2[Prepare Top 5]
I --> J[SKILL #223: Extract Top 5]
J --> K[Select First 5 Listings]
K --> L[Append Ranks 1-5]
L --> M[Format Output Structure]
end
M --> N[Return top5_ranked_listings]
N --> O[TShirtRanker End]
classDef silo fill:#f9f,stroke:#333,stroke-width:2px
class SILO1,SILO2 silo