Sort two parameters inside data

I think you are talking about a custom taxononmy for your parameter - when enabled, then you can do sorting on it

and maybe also this post