Optimisations for GenericParamData loading.

This speeds up metadata loading by sorting the GenericParamData through a q-swap iteration.