Your body gets used to your fasting hours, so you should try to maintain a constant eating-fasting time.
However, if you switch it around, you won't stop getting results. However, it will be a bit harder to maintain a schedule since your body will sometimes get hungry well before your eating window.