Set proper order