Make sort methods static