Trying to find a way to sort nodes by age with dividing titles for a news site. I found similar questions but no answers. Is this issue solved by someone?

Example:

NOW
-node topic 1
LAST HOUR
-node topic 2
-node topic 3
TODAY
-node topic 4
-node topic 5
ETC....

Firon

Comments

Firon’s picture

Really! No one has done similar thing?

Firon

sunnydeveloper’s picture

What have you tried? have you tried Views? What is your sort logic?

Now
Last Hour
Today (does this include the one in the last hour?)
Yesterday
Then what?

Are you developing a custom module? (so you are able to write the code yourself?) It's helpful to get some more information.

manop’s picture

Please check out Views module, you can sort and group by anything with Views. http://drupal.org/project/views