Verisk interview question

Create a sort function based on a custom alphabet.

Interview Answer

Anonymous

21 July 2023

Regular alphabetical sorts are just numeric sorts based on the numeric values of the letters (e.g. a = 1, d =4), simply reassign the letters' numbers based on the order of the custom alphabet.