I have various styles of font objects grouped into arrays. Each font object has a property sub_family which is either Regular, Italic, Bold, Bold Italic (or some variation e.g. Italic is sometimes called Oblique). When they come out of the database they are in a random order and need to be sorted as above; Regular is always first, Italic second, etc.I have various styles of font objects grouped i