Should I use salicylic acid before or after niacinamide in my skincare steps?

Should I use salicylic acid before or after niacinamide in my skincare steps?