Creates sort class for other sorts to extend from