graph TD
A[Input: Filtered T-Shirt Listings] --> B[Load & Sort Silo]
subgraph Load & Sort Silo
B1[Parse Input Data] --> B2[Apply Sorting Logic]
B2 --> B3[Sort by BSR Ascending]
B3 --> B4[Check for Ties]
B4 -->|Yes| B5[Apply Tiebreakers]
B4 -->|No| B6[Create Sorted List]
B5 --> B6
end
B6 --> C[Prepare Top 5 Silo]
subgraph Prepare Top 5 Silo
C1[Extract Top 5 Listings] --> C2[Append Rank 1-5]
C2 --> C3[Validate Data Fields]
C3 --> C4[Format Output Structure]
end
C4 --> D[Output: Top 5 Ranked Listings]
style A fill:#f9f,stroke:#333
style D fill:#9ff,stroke:#333