Scripts on use of Ruby methods, block, sorting etc