SuiteCRM 7.13.4 - Empty search in subpanel filter is sorted incorrectly

Good afternoon,

After I managed to add filtering to subpanels (in particular, the Targets/Leads/Contacts/Accounts subpanels in the ProspectLists detailview) I noticed an odd behaviour where after doing a search, in order to clear it I’d click on the “clear” button and submit an empty search, however this sorts names in reverse (starting from Z).
This seems to happen only with the empty search as searching ‘%’ yields all results sorted correctly. The subpanel is sorted correcly by default.

For reference here is the code for the Leads subpanel. maybe I need to add something to the searchdefs?

unset($layout_defs["ProspectLists"]["subpanel_setup"]['leads']);
$layout_defs["ProspectLists"]["subpanel_setup"]['prospect_list_leads'] = array (
		'order' => 10,
		'sort_by' => 'name',
		'sort_order' => 'asc',
		'module' => 'Leads',
		'subpanel_name' => 'default',
		'get_subpanel_data' => 'leads',
		'title_key' => 'LBL_LEADS_SUBPANEL_TITLE',
		'top_buttons' => array(
			array('widget_class' => 'SubPanelTopButtonQuickCreate'),
			array('widget_class' => 'SubPanelTopSelectButton','mode'=>'MultiSelect'),
            		array('widget_class' => 'SubPanelTopFilterButton'),
		),
);
  $layout_defs["ProspectLists"]["subpanel_setup"]['prospect_list_leads']['searchdefs'] =
array ( 'name' =>
        array (
            'name' => 'name',
            'default' => true,
            'width' => '10%',
        ),
        );