filter:register.build now returns what it was passed, in order.

 fixes issue#1540, we seriously need to consider standardizing the hooks arguments, maybe some ideas here issue#1527