We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

how do I sort autofill data?

  • 3 replies
  • 1 has this problem
  • 19 views
  • Last reply by cor-el

more options

How do I get form data sorted properly. I have already done the browser.formfill.bucketsize = 999999999. However it still sorts "[email protected]" and "[email protected]" ahead of "[email protected]".

How do I get form data sorted properly. I have already done the browser.formfill.bucketsize = 999999999. However it still sorts "[email protected]" and "[email protected]" ahead of "[email protected]".

All Replies (3)

more options

You can try to do the sorting with the SQLite Manager extension.

  1. Open formhistory.sqlite (you may need to do this on a copy of the file)
  2. Hit the Execute SQL tab
  3. Drop the existing moz_formhistory_index and create a new moz_formhistory_index
drop index "main"."moz_formhistory_index";
CREATE INDEX moz_formhistory_index ON moz_formhistory (fieldname,value);

Use this for case insensitive sorting:

CREATE INDEX moz_formhistory_index ON moz_formhistory (fieldname,value COLLATE NOCASE);

more options

Where do I find formhistory.sqlite?

Never mind I found it. But I don't understand what I am supposed to do with it. I need an exact step by step instruction.

Modified by jdevlin

more options

That is a file in the Firefox Profile Folder. SQLite Manager has a button (Select Profile Database) to open files in the Firefox Profile Folder.