The order bound on generalized Hamming weights is introduced in a gene
ral setting of codes on varieties which comprises both the one point g
eometric Goppa codes as well as the q-ary Reed-Muller codes. For the l
atter codes it is shown that this bound is sharp and that they satisfy
the double chain condition.