featureOrder = const {'read-only' : 1, 'write-only' : 1, 'read / write' : 1, 'final' : 2, 'inherited' : 3}

Items mapped less than zero will sort before custom annotations. Items mapped above zero are sorted after custom annotations. Items mapped to zero will sort alphabetically among custom annotations. Custom annotations are assumed to be any annotation or feature not in this map.