days are now in order
Fixed a problem with sorting dealing with arrays and hashes
merged