String arrange

Apply rule :  [12345] to NOTE. and optimize source code a little bit.