attempt to fix sort order