On the Transactions page, clicking the header to sort by category will order the transactions based on the category that was assigned at page load. If the category is changed, transactions appear out of order, as it continues to sort by the original category.
Sorting will work as expected once the page is refreshed.