Sort json-ld data by value type, size and key