Previous/Next Link by Meta Value in CPT

I just found the answer to this at another Stack… as is always the way when I post a question, it seems. No matter what one does, in regards to pagination in this situation, WP will always go by post date first. I needed to add a function that would use menu_order and found the answer here.

function wpse73190_gist_adjacent_post_sort( $sql ) {
    $pattern = '/post_date/';
    $replacement="menu_order";

    return preg_replace( $pattern, $replacement, $sql );
}

add_filter( 'get_next_post_sort', 'wpse73190_gist_adjacent_post_sort' );
add_filter( 'get_previous_post_sort', 'wpse73190_gist_adjacent_post_sort' );

tech