add ndget
coerce_to_ordered is idempotent
ordered_index
improve ordered_index
remove debug print
json indexing
fix relative import
remove troublesome doctests

These caused issues because they held newlines