Sorts based on ID now

Seems to work fine even with searches made from the top navbar now.