Tables: Added indication of current and future state to sorting icons (#5209)