Fix incorrect position bug when orderable base set and some positions set to nil
fix build for ruby 1.8 - use old hash syntax
Merge pull request #29 from Bharat311/fix-reorder-base-bug

Fix incorrect position when orderable base is set - Ignore the nil positions