New function to calculate collation keys which are more suitable for