Add sorting tests.

@stefanpenner

Hopefully this will allow us to sort out why the Ember file ordering seems off. It might not be, but at least this will allow us to prove it one way or the other.