Removed dummy comment, and added function for sorting instance types.