Sort-ByExample lets you sort data to match the ordering in an example list.
For more information, consult its documentation with perldoc.