fix sort url and coding style