order an array of objectes typed CollegioVerbale {
    id: CollegioVerbaleID;
    idRicUdien: number;
    tipoMag: string;
    gradoMag: number;
    magistrato?: AnagraficaMagistratoCollegio;
    riserva: boolean;
    relatore: boolean;
    operatore: number;
    comparso: boolean;
    oggi: number;
}

put at the bottom of array all the objects with riserva true and order them by gradoMag ascendant