I am a `Java` developer working on an `iOS` application which sends requests to a `Java Spring` backend on the server. 

When a call is made, the backend returns a JSON to frontend where it is deserialized into an `NsDictionary`, and it works fine.

However, now the client has asked that the fields on the front end be sorted in an order he had given us. 

I have tried to annotate the object like so:

```
@JsonPropertyOrder({"firstName","lastName","mobile","email",  "address","city","state","gender"})
public final class User{ ... }

```

But while that sorts the properties in the string representation, when it is deserialized into an `NsDictionary`, it is instead ordered alphabetically by its fields.

Can this sorting be done, and how can we implement it?

Best regards, and thanks in advance.