Added optional sort function to getAll in FixtureModel