Use a function template to be able to create new sorts later