Added the ability to order tuples