First attempt at ruby gem using some sorts