Ivan's right that before and after would be ideal and if it is simply an inline surge suppressor and a UPS that are always live then it would make sense to put the surge suppressor first. However, locating a sequencer or any switched power device before the UPS does not usually work well. For example, you might want to put a media server, digital mixer, DSP and some external effects devices on a UPS, but want to sequence those on and off. Or you may want the control system and system DSP off the UPS but with the control system always on and the DSP being switched on and off. You can't easily do either of those with the UPS after the sequencer or switched power as not only would that require multiple UPS devices, one per sequenced circuit, but when a circuit turn off it would also cause the UPS to engage and run the equipment off the battery until the battery drained rather than turning the equipment off. Adding to this, now the battery is drained and the next time you turn on the system you have to hope you have no problems until it had sufficiently charged.