CodingReported in a candidate post, Sep 2019
Custom sort based on another array
Filed under Hike
The question
Sort an array based on the relative ordering specified by another array.
No write-up yet. Related questions below have one.
Related Hike questions
Collected from public candidate posts and coding forums. Updated Nov 2026.