sort methods
in class solutions arrays.rb