Perhaps the difference is because the fields selected for the sort order are not the same in each case?
In the table, you are sorting by:
In the portal:
Oh bloody hell. :)
And I think I just figured out why they aren't sorting how I think they should. That 2nd field is a 'number' field, so it drops the letter and just uses the "minus 5" as the number to sort by. "-5" is smaller than "-4" so it sorts them that way. Gack!