Ensure sort order to smooth out browser inconsistencies