quick ruby sort program using TDD for practise