document th way extensions are sorted