* 📚 **Overview**: Refine and implement: `useLeaderboard` sorting logic * 🎯 **Objectives**: - Implement Implementation needed - Add unit tests - Verify with protocol invariants * 🧠 **Problem Context**: Issue identified during audit: - **Impact:** Client side sort vs server side. * 🧩 **Technical Scope**: Relevant repository module. * ✅ **Acceptance Criteria**: - [ ] Implementation needed is functional - [ ] Tests passed - [ ] No regressions * 🔐 **Security / Integrity Considerations**: Not specified * ⏳ **Complexity & Effort**: Medium * 🔗 **References**: Internal Ref #FE-198 * 🏷️ **Labels**: frontend, stellar-wave, complexity-medium ---
useLeaderboardsorting logic