improoved mongodb condition implementation.
implemented base order support.