File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes Sorting Excel using POI (HSSF) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Sorting Excel using POI (HSSF)" Watch "Sorting Excel using POI (HSSF)" New topic

Sorting Excel using POI (HSSF)

Gaja Venkat
Ranch Hand

Joined: Aug 10, 2001
Posts: 50
I am using HSSF POI to create an Excel sheet. I am in need of sorting this sheet based on a column value. If you know how to do this, please let me know.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
POI is just an API to read and write Excel files. You can use it to perform some simple manipulations, but nothing like sorting. That would be good addition, though, so if you get around to implementing it, you might consider contributing the code to the project

Since POI is a 3rd party API, I'm moving this thread to Other Open Source Projects.
I agree. Here's the link:
subject: Sorting Excel using POI (HSSF)
jQuery in Action, 3rd edition