Added the possibility to order the limits of the phase diagram with 3 entries.