implement order clause spec
fix order values orders bug