bug fix: sorting messing up focused transaction