Fix priorities order