use golang sort package style, fix shell sort bug