GravityKit icon

Black Friday Pro

Take 25% off GravityView Pro, All Access, and Lifetime with code BFPRO25.

Shop the Sale
Skip to content
GravityKit
Buy
Sign in
0 items
  • Plugins

    GravityKit All Access

    Our complete Kit of essential tools for extending and enhancing Gravity Forms—everything you need to build powerful web apps and workflows.

    Learn more
    • GravityView Pro

      GravityView Pro

      Bestseller

      Get Live Filters, Maps, DataTables, the Advanced Elementor Widget and every other Pro feature to build the app your process needs.

    • GravityView

      GravityView

      Trending

      Display Gravity Forms entries on the frontend of your site and build powerful web applications.

    • GravityImport

      GravityImport

      Trending

      Import entries from CSV files into Gravity Forms to transfer data, create new forms, or update existing entries.

    • GravityEdit

      GravityEdit

      Quickly edit Gravity Forms entries inline to save time, reduce clicks, and streamline your workflow.

    • GravityCharts

      GravityCharts

      Trending

      Turn Gravity Forms entries into interactive charts and graphs.

    • GravityActions

      GravityActions

      Update multiple Gravity Forms entries at once, send bulk emails, and streamline your workflow.

    • GravityCalendar

      GravityCalendar

      Turn Gravity Forms entries into dynamic calendars to showcase events, schedules, appointments, and more.

    • GravityExport

      GravityExport

      Export Gravity Forms entries to Excel, CSV, PDF, or Google Sheets, then share them with secure links or deliver them to cloud storage on a schedule.

    • GravityMath

      GravityMath

      Perform advanced calculations on Gravity Forms entries to display totals, averages, or build custom calculators.

    • GravityRevisions

      GravityRevisions

      Track, compare, and restore changes made to Gravity Forms forms and entries with a full version history.

    • GravityMigrate

      GravityMigrate

      Migrate all Gravity Forms data between sites, including forms, entries, settings, Views, feeds, and file uploads, and import forms from other form plugins.

    • GravityBoard

      GravityBoard

      Manage projects with collaborative project management. Coordinate with your team and streamline your workflows.

    • GravitySearch

      GravitySearch

      Search Gravity Forms entries across every form from one screen.

  • Ideal For

    • Nonprofits
    • Web Agencies
    • Education
    • Developers
    • Small Businesses
    • Startups
    Explore All Use Cases

    Case studies

    • Be There Local
    • Killer Shorts
    • West Fork Schools
    • Princeton University
    • BrightLeaf Giving
    • Jacksonville Port Authority
    • National Severe Storms Lab
    • Leadpal
    View All Case Studies
  • Resources

    • Blog
    • Case studies
    • Newsletter
    • GravityKit vs competitors
    • Live Demos
    • Documentation
    • Developer docs
    • GravityKit Academy

    Ultimate guides

    • How to use Gravity Forms
    • Editing Gravity Forms entries
    • Importing Gravity Forms entries
    • Exporting Gravity Forms entries
    • Displaying Gravity Forms entries
    • Gravity Forms conditional logic
    • Gravity Forms calculations
    View More Articles
  • Support
  • Pricing
  • Plugins

    • GravityView Pro

      GravityView Pro

      Bestseller

      Get Live Filters, Maps, DataTables, the Advanced Elementor Widget and every other Pro feature to build the app your process needs.

    • GravityView

      GravityView

      Trending

      Display Gravity Forms entries on the frontend of your site and build powerful web applications.

    • GravityImport

      GravityImport

      Trending

      Import entries from CSV files into Gravity Forms to transfer data, create new forms, or update existing entries.

    • GravityEdit

      GravityEdit

      Quickly edit Gravity Forms entries inline to save time, reduce clicks, and streamline your workflow.

    • GravityCharts

      GravityCharts

      Trending

      Turn Gravity Forms entries into interactive charts and graphs.

    • GravityActions

      GravityActions

      Update multiple Gravity Forms entries at once, send bulk emails, and streamline your workflow.

    • GravityCalendar

      GravityCalendar

      Turn Gravity Forms entries into dynamic calendars to showcase events, schedules, appointments, and more.

    • GravityExport

      GravityExport

      Export Gravity Forms entries to Excel, CSV, PDF, or Google Sheets, then share them with secure links or deliver them to cloud storage on a schedule.

    • GravityMath

      GravityMath

      Perform advanced calculations on Gravity Forms entries to display totals, averages, or build custom calculators.

    • GravityRevisions

      GravityRevisions

      Track, compare, and restore changes made to Gravity Forms forms and entries with a full version history.

    • GravityMigrate

      GravityMigrate

      Migrate all Gravity Forms data between sites, including forms, entries, settings, Views, feeds, and file uploads, and import forms from other form plugins.

    • GravityBoard

      GravityBoard

      Manage projects with collaborative project management. Coordinate with your team and streamline your workflows.

    • GravitySearch

      GravitySearch

      Search Gravity Forms entries across every form from one screen.

    View All Products

    GravityKit All Access

    Our complete Kit of essential tools for extending and enhancing Gravity Forms—everything you need to build powerful web apps and workflows.

    Learn more
  • Ideal For

    • Nonprofits
    • Web Agencies
    • Education
    • Developers
    • Small Businesses
    • Startups
    Explore All Use Cases

    Case studies

    • Be There Local
    • Killer Shorts
    • West Fork Schools
    • Princeton University
    • BrightLeaf Giving
    • Jacksonville Port Authority
    • National Severe Storms Lab
    • Leadpal
    View All Case Studies

    How to build...

    • Client Portal
    • AI-Built Directory
    • Conference Website
    • WordPress CRM
    • Admin Dashboard
    • Inventory Management
    • Vendor Portal
    • Document Library
    View All Guides
  • Resources

    • Blog
    • Case studies
    • Newsletter
    • GravityKit vs competitors
    • Live Demos
    • Documentation
    • Developer docs
    • GravityKit Academy

    ultimate guides

    • How to use Gravity Forms
    • Editing Gravity Forms entries
    • Importing Gravity Forms entries
    • Exporting Gravity Forms entries
    • Displaying Gravity Forms entries
    • Gravity Forms conditional logic
    • Gravity Forms calculations
    View More Articles
  • Support
  • Pricing
0 items

Search

Results appear automatically as you type.
Loading results…

results found matching

    Sign in
    Buy

    Docs

    • Docs Home

    Gravity Forms Add-Ons

    • GravityView
    • GravityActions
    • GravityBoard
    • GravityCalendar
    • GravityCharts
    • GravityEdit
    • GravityExport
    • GravityImport
    • GravityMath
    • GravityRevisions
    • GravitySearch
    • GF Widget for Elementor
    • GF Dynamic Lookup
    • GF Entry Tags
    • GF Event Field
    • GravityExport Lite
    • GF Zero Spam
    • GravityMigrate

    GravityView

    • Getting Started
    • View Setup
    • FAQ
    • Pre-Sale
    • Advanced
    • Common Problems
    • Customizing Your Views
    • Edit Entry
    • Entry Approval
    • Filter and Sort Results
    • Gravity Forms
    • Merge Tags
    • Roles and Capabilities
    • Search
    • Shortcodes
    • View Settings
    • WordPress Posts

    General Help

    • Account, Invoices, and Billing
    • License Related
    • Plugins and Settings
    • Agency accounts
    • Contact
    • Docs Home
    • Gravity Forms Add-Ons

      • GravityView
      • GravityActions
      • GravityBoard
      • GravityCalendar
      • GravityCharts
      • GravityEdit
      • GravityExport
      • GravityImport
      • GravityMath
      • GravityRevisions
      • GravitySearch
      • GF Widget for Elementor
      • GF Dynamic Lookup
      • GF Entry Tags
      • GF Event Field
      • GravityExport Lite
      • GF Zero Spam
      • GravityMigrate
    • GravityView

      • Getting Started
      • View Setup
      • FAQ
      • Pre-Sale
      • Advanced
      • Common Problems
      • Customizing Your Views
      • Edit Entry
      • Entry Approval
      • Filter and Sort Results
      • Gravity Forms
      • Merge Tags
      • Roles and Capabilities
      • Search
      • Shortcodes
      • View Settings
      • WordPress Posts
    • General Help

      • Account, Invoices, and Billing
      • License Related
      • Plugins and Settings
      • Agency accounts
    • Contact

    GravityImport

    • Error: “Failed validation” when importing entries
    • Importing entries from the command line with WP-CLI
    • Keeping imported entries in date order
    • “Row #[x] ID does not exist for form” error
    • Adding new fields to an existing form during import
    • Bulk Edit Step: What are these fields?
    • Bulk Edit Step: What will happen to my old field data?
    • Can I import a CSV file on the front-end of my website?
    • Can I import passwords with the GravityImport plugin?
    • Capabilities necessary to import entries
    • Choosing a form for the import
    • Configure import options
    • Continue Processing If Errors Occur
    • Create a new form in Gravity Forms from a CSV
    • Does GravityImport limit the number of entries I can import?
    • Does GravityImport process calculations during import?
    • Does GravityImport support importing Nested Form fields?
    • Error: Arguments not allowed here: rest_route
    • Error: CSV file failed to upload
    • Error: Import has finished with errors (HTTP 404)
    • Error: Server returned an empty response
    • Exporting a CSV from Apple Numbers
    • Exporting a CSV from Google Sheets
    • Exporting a CSV from LibreOffice
    • Exporting a CSV from Microsoft Excel
    • Exporting List fields as JSON
    • Formatting dates for Gravity Forms in Microsoft Excel
    • Getting started with GravityImport: how to import entries into Gravity Forms
    • GravityImport Developer Hooks
    • GravityImport Support for Gravity Forms Add-Ons
    • GravityImport: “The importer encountered an error that prevents it from continuing”
    • How to assign entries to users during import
    • How to change the CSV delimiter
    • How to Clean Up GravityImport Database Tables
    • How to enable pre-release versions of GravityImport
    • How to import data from a MySQL database
    • How to restrict access to Import Entries
    • How to trigger notifications for imported entries
    • Import CSV to Gravity Forms with Import Entries 2.0
    • Import option: Skip Field Validation
    • Import Step: Where would you like to import the entries?
    • Importing dates in UTC timezone
    • Importing Gravity Forms Post Fields from CSV
    • Importing List fields into a new form
    • Importing List fields into existing forms
    • Importing values into Checkboxes fields
    • Mapping CSV columns to form fields
    • Naming your field columns
    • Restarting a Gravity Flow workflow after import
    • Updating existing entries with the GravityImport plugin
    • Uploading a CSV file
    • Home
    • Docs
    • GravityImport
    • Keeping imported entries in date order

    Keeping imported entries in date order

    Estimated reading: 3 minutes

    Updated on November 27, 2026

    GravityImport adds the rows of your file as new entries in the order they appear in the file, so each row gets a higher entry ID than the row above it. The Gravity Forms Entries screen lists the highest entry ID first, which puts the last row of your file at the top of the screen.

    A file exported from Gravity Forms lists entries by entry ID, highest first, which is usually newest first. Imported as it is, it leaves the oldest entry at the top of the Entries screen and the newest at the bottom. Sorting the file oldest first before the import gives you the newest entry at the top.

    Sort the file oldest first #

    1. On the site the entries come from, go to Settings, then General, and note the Timezone. Gravity Forms writes each entry’s date in that timezone when you export.
    2. Go to Forms, then Import/Export. On the Export Entries tab, select the form, tick Select All under Select Fields, and click Download Export File.
    3. Open the file in a spreadsheet and sort the rows by the Entry Date column, from oldest to newest, with the header row left at the top. The dates are written like 2026-02-11 10:12:00, so an A to Z sort puts them in date order.
    4. Save the file as CSV.
    5. On the site you’re importing into, go to Settings, then General, and set Timezone to the one you noted. GravityImport reads the dates in this site’s timezone, so a different one moves every date by the difference.
    6. Go to Forms, then Import Entries, upload the file and choose the form, as Getting started with GravityImport shows.
    7. Because the file has an Entry Id column, a warning opens: “One of the columns in your CSV file maps to an Entry ID field.” Click Cancel. The Entry Id column then shows Select Form Field on Map Fields, and every row is added as a new entry.
    The GravityImport warning on the Map Fields step: "WARNING! One of the columns in your CSV file maps to an Entry ID field. This will erase and overwrite all values for existing entries that share the same Entry ID. Click Cancel to create new entries during import." The Cancel button is outlined in red, with an arrow pointing at it.
    1. Leave Entry Date ticked and mapped to Entry Date, so that each entry keeps the date it was created on the old site. In the settings that the gear icon beside the column opens, This date is in UTC timezone stays off, as it is by default.
    2. Gravity Forms writes the Date Updated column in UTC. To keep those dates too, click the gear icon beside Date Updated, turn on This date is in UTC timezone, and click Update.
    The date settings of the Date Updated column, which GravityImport reads as February 11, 2026 @ 15:12:00. The This date is in UTC timezone switch is off and outlined in red, with an arrow pointing at it, above the Update and Cancel buttons.
    1. Click Continue With Import, and then Continue With Import again on the Configure step.
    2. If some rows fail, click view log to see why and fix the cause. Then click Retry or Remap & Retry on the same screen. Both buttons show the number of failed rows, and both keep the mapping of the first import. The Entry Id column stays out, and the date columns keep their format and their This date is in UTC timezone setting.

    Warning: In GravityImport 2.1 to 2.12.7, a retry maps the Entry Id column to Entry ID again without the warning, and a retried row whose ID matches an entry of the form replaces that entry. Update GravityImport before you click Retry or Remap & Retry.

    When the import finishes, the newest entry is at the top of the Entries screen.

    The Gravity Forms Entries screen of the Showroom appointments form after importing a file sorted oldest first. The entry from November 13, 2026 is at the top of the list and the entry from February 11, 2026 is at the bottom.

    Rows imported with a retry come after the rest, so they get higher entry IDs and are listed above the newer entries. To see every entry in date order after a retry, list them by Entry Date as the “Entries you already imported” section shows.


    Entry IDs from the old site #

    The imported entries get new entry IDs on this site, and the IDs from the old site can’t be kept. Mapping the Entry Id column to Entry ID tells GravityImport to update the entries that already have those IDs in the form, as Updating existing entries with the GravityImport plugin explains. Rows with an ID the form doesn’t have are rejected with the error described in “Row #[x] ID does not exist for form” error.

    If links or notes elsewhere point to an entry by its ID, change them to the entry’s new ID.


    Entries you already imported #

    The Entries screen lists entries by their entry IDs, which never change. To list the entries by date instead:

    1. On the form’s Entries screen, click the gear icon at the right end of the column headings.
    2. Drag Entry Date from Inactive Columns to Active Columns, and click Save.
    3. Click the Entry Date heading twice. The first click lists the oldest entry first, and the second click lists the newest first.
    The Entries screen of the Showroom appointments form with an Entry Date column, sorted from the newest entry. The Entry Date heading is outlined in red with an arrow pointing at it, and the gear icon for choosing columns is at the right end of the headings.

    The next time you open the Entries screen, it lists the entries by entry ID again. To have the newest entries at the top for good, import the file again sorted oldest first, check the new entries, and then delete the entries from the first import.


    Showing the entries in a View #

    A View uses its own sort settings. To list the entries by date in a View:

    1. Edit the View.
    2. In the Settings box, click the Filter & Sort tab.
    3. Set Sort by field to Date Created and Sort direction to Descending.
    4. Click Update.

    Sorting results by field value covers the other sort options.

    Still stuck? How can we help?

    How can we help?

    "*" indicates required fields

    This field is for validation purposes and should be left unchanged.
    Replies will go to this email.
    How can we help?*
    My pre-sale question is related to...*
    My WordPress skills are....*
    My Gravity Forms skills are...*
    You will be shown articles from our documentation.
    Vous pouvez nous écrire dans votre langue maternelle si c’est plus facile pour vous—nous nous occuperons de la traduction!
    Puedes escribirnos en tu idioma nativo si te resulta más fácil; ¡nosotros nos encargamos de la traducción!
    Sie können uns in Ihrer Muttersprache schreiben, wenn das für Sie einfacher ist – wir kümmern uns um die Übersetzung!
    U kunt ons in uw moedertaal schrijven als dat gemakkelijker voor u is — wij zorgen voor de vertaling!
    Du kan skrive til oss på ditt morsmål hvis det er enklere for deg — vi tar oss av oversettelsen!
    Du kan skriva till oss på ditt modersmål om det är lättare för dig — vi tar hand om översättningen!
    Você pode nos escrever em seu idioma nativo se for mais fácil para você — nós cuidaremos da tradução!
    Puoi scriverci nella tua lingua madre se ti è più facile — penseremo noi alla traduzione!
    Please provide as much detail as you're able; this helps us provide you with faster support.
    Drop files here or
    Accepted file types: jpg, jpeg, gif, png, tiff, pdf, bmp, zip, json, csv, xls, xlsx, Max. file size: 256 MB.
      Get better at Gravity Forms every Friday

      Was this page helpful?

      Table Of Contents
      • Sort the file oldest first
      • Entry IDs from the old site
      • Entries you already imported
      • Showing the entries in a View
      GravityKit
      • How to Build It
      • GravityKit vs competitors
      • Pricing
      • Products
      • Our Team
      • Our Values
      • Work With Us
      • Partner Directory
      • Coupons
      Support
      • Support
      • Contact
      • Documentation
      • Scope of Support
      • Brand Guidelines
      • Brand Kit
      • Privacy Policy
      • Terms of Service (“Terms”)
      I am a...
      • Nonprofit
      • Web agency
      • Small business owner
      • Web developer
      • Educational institution
      • WordPress freelancer
      • Startup founder
      • One-person agency
      Get notified of updates.

      We’re constantly improving GravityKit. Fill out your email below and we’ll notify you anytime major updates drop.

      See past editions
      • Facebook
      • Twitter
      • Mastodon
      GravityKit is a Gravity Forms Certified Developer.

      Copyright © 2026, Katz Web Services, Inc.

      GravityKit and GravityView are registered trademarks of Katz Web Services, Inc.

      Before you go

      Take 25% off

      Our Black Friday sale covers GravityView Pro, the All Access Pass and the Lifetime All Access Pass, and ends December 1.

      See the Deals