Header library for sort functions capable of taking in different data types