Add sort_test (Ruby)

Shows how to sort array hierarchically by last element (in this case,
works for 3-element arrays)