trying to get the sort order fixed