Sorts and BSTree ADT for COMP1927 exam