Convert failure ids list to sorted set