added some sort methods and stuff