ui fix for ordering in table