[ticket/12890] Add test to ensure sorted list shows empty value

PHPBB3-12890