CSPACE-6278: Change dependencies ordering.