sort functions by names in tests/fakes