alphabetical sorting for bridges and funcs