improved orderings and ranges
added some ordered number tests