Kata Ruby sort