fixed sorted sets and sorted set rpc functions and did some format fixing in whole project