Fix is_ordered flag

Fixes is_ordered flag behavior (now reversed); adds tests; bumps version.
Fair enough. If we're going to float some invisible bugs anyhow, might as well find them all.