Added function declarations for more sort functions