fix ordering on range filter