sortBy package:basement

Sort the character in a String using a specific sort function TODO: optimise not going through a list