Variation of constants, vector Lyapunov functions, and comparison theorem