首页 > 代码库 > Redis -- sort

Redis -- sort

1.sort key

  > sadd c 9 7 1 5 4 8
    (integer) 6
  > sort c
    1) "1"
    2) "4"
    3) "5"
    4) "7"
    5) "8"
    6) "9"
by 排序
 

 

Redis -- sort