Removed an unnecessary ordering function.