Javascript Empty Array Element In Python How To Sort A Set