figuring out sort methods