Fixed issue with histogram sort UI